Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Session Maintaining  RSS feed

 
Mathews P Srampikal
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the different ways for session Maintaining in jsp/servlets???
 
Sri Basavanahally
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are talking about Session Tracking, then there are four ways:
- Cookies
- URL Rewriting
- SSL
- Hidden form fields.
Also, the HTTPSession object of the servlet API provides an abstraction for the notion of a session.So, using it, you can create a session, destroy it, manage state (remember values between calls), etc.
-Sri
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!