Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Session Maintaining

 
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
 
Yes, my master! Here is the tiny ad you asked for:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!