Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
how to invalidate a session
Old 02-05-2008, 09:59 AM how to invalidate a session
Novice Talker

Posts: 5
Name: prakash
Trades: 0
when i click on logout link on jsp page, it shows to the login page (jsp).But when i click the browser back button it shows me the page which i have last visited ( having the logout link, say for eg in this case.) How can i avoid this type of situation?

solution with sample code snippets is well appreciated.
mvsprakash is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-06-2008, 05:40 AM Re: how to invalidate a session
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
The browser history has nothing to do with sessions, so cannot be affected by server side jsp code.

and, No there is no way to remove the entry from the browser history cache
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-09-2008, 07:23 AM Re: how to invalidate a session
itHighway's Avatar
Skilled Talker

Posts: 83
Name: Zeeshan Dar
Location: GUJ
Trades: 0
Use following meta tags in html of your pages..
Quote:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="EXPIRES" CONTENT="0">
__________________
Zeeshan Dar
itHighway -
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
itHighway is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to how to invalidate a session
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19936 seconds with 12 queries