Forums Register Login

Session Maintaining

+Pie Number of slices to send: Send
What are the different ways for session Maintaining in jsp/servlets???
+Pie Number of slices to send: Send
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
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 874 times.
Similar Threads
EJB
Non-Use case Driven?
About Javaranch web site
URL rewriting
Looking at code how to differentiate between Stateless and Stateful
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:35:42.