• Post Reply Bookmark Topic Watch Topic
  • New Topic

Clearing Buffer  RSS feed

 
Fouad Fares
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I'm trying to prevent the user from going backward on my web application using JSP method, my idea is to clear the browser's buffer.
Could any one suggest anyother working method.

thanks
 
sai prasanna
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you mean the jsp pages should not cache
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm trying to prevent the user from going backward on my web application using JSP method,


You got to use sessions along with proper cache control response headers.
 
Fouad Fares
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what i'm trying to do is to disable only the functionality of the back button so that if the user clicks it the previous page will not reappear (it would have been expiered)

and i couldn't find something usefull on [JSTL Tag Documentation]
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

what i'm trying to do is to disable only the functionality of the back button so that if the user clicks it the previous page will not reappear (it would have been expiered)


That can't be done from server side code.
 
Fouad Fares
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
may u please provide me with some hint's resolving my problem with javascript
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!