Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session management in servlets

 
ravi indra
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

how to manage the session of a client other that
Cookies and URL Rewriting technique.
 
Michael Duffy
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ravi indra:
hi,

how to manage the session of a client other that
Cookies and URL Rewriting technique.


Why? If those are the tools that the servlet API gives you, why are they not sufficient?

I can see why cookies might not be desirable, because some clients won't accept cookies, but why isn't URL rewriting acceptable?
 
Michael Duffy
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Michael Duffy:


Why? If those are the tools that the servlet API gives you, why are they not sufficient?

I can see why cookies might not be desirable, because some clients won't accept cookies, but why isn't URL rewriting acceptable?


Perhaps more importantly, why would you want to write your own way and maintain it when the servlet API gives you two ways to do it out of the box?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic