• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session invalidation on back button

 
Ashutosh Arya
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I wanted to know that is there any way to avoid invalidation of session when we press back button of browser? As the session is getting invalidated I am not able resend values to the database using a session attribute.

Waiting for help,

Aashu.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pressing the back button does not invalidate the session. There must be another explanation for the behavior you are observing.
 
ujjwal soni
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Which technology are you using ? Are you using any frameworks like struts, or spring ??

If no then, you must be facing issue with browser caching. Try disabling it using javascript.


Cheers!!!

Ujjwal B Soni

<baroda>
<gujarat>
<india>
<919998971048>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!