This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

back in browser

 
Vignesh
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,
i have a simple question.iam developing a site which uses some database connections.and i dont want the user to go back in the browser buttin and traverse round.how can i make the jsp page to expire within the same scope and not allow the user to go back???
thanks in advance
Vignesh.K.C
 
vikinsa
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!,
You can use the simple HTML meta tags to expire the page as soon as it gets displayed. After using that the tag will ensure that every time the page is requested it will fetch a new copy from the web server.
I am not very sure about this one but try once...
<META HTTP-EQUIV="Expires" CONTENT="now">
Place in the <head></head> tags of your HTML in that jsp.

Originally posted by Vignesh:
hi guys,
i have a simple question.iam developing a site which uses some database connections.and i dont want the user to go back in the browser buttin and traverse round.how can i make the jsp page to expire within the same scope and not allow the user to go back???
thanks in advance
Vignesh.K.C


------------------
Vikas Aggarwal
Technology Associate
http://www.vikinsa.com
 
Frank Carver
Sheriff
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Vignesh" and "vikinsa",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic