File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regd Sess Mgmt: How do i find out if the browser has cookies disables?

 
srini E
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question in detail:
When a user sends a request for the first time, how would i know if the browser has disables cookies option?
How would i know whether i should use url re-writing or cookies for session management? My confusion is how to determine which option to use for session management.
Probably i'm missing something very obvious. Dear ranchers, help me in discovering what i'm missing or direct me where i can find answers.
 
Scott Johnson
Ranch Hand
Posts: 518
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The servlet container should handle this for you automatically.

You just have to call encodeUrl() for each url in your page and the session id will be appended as necessary.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic