/    Sign up×
Community /Pin to ProfileBookmark

Regarding Logout Problem

Plz help !!. I has developed one site using Struts and Javascript. At the first time i am entering user name and password. After sucessfully login into site i will enter google.com on address bar.Now i am in Google.com page.Afre i will click on back button from Google it will come to my site. But it will displays previous screen.
I want to logout my site whenevr user left from the site.When ever i will click on back button from Google.com it will ask once again user name and password.

Thanks&Regards,
SRB!!!

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@A1ien51Dec 12.2005 — You have to look at setting the headers to no-cache and see if that helps. If they do not log out and they are using the same browser session and their session on the server has not been timed out, then you may struggle to get it to work.

Eric
×

Success!

Help @mailtosrb spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...