File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Regd Sess Mgmt: How do i find out if the browser  has cookies disables? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Regd Sess Mgmt: How do i find out if the browser  has cookies disables?" Watch "Regd Sess Mgmt: How do i find out if the browser  has cookies disables?" New topic
Author

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

srini E
Greenhorn

Joined: Feb 18, 2006
Posts: 10
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.


learn-->practice-->Improvise-->repeat<br /> <br />Thanks,<br />Srini
Scott Johnson
Ranch Hand

Joined: Aug 24, 2005
Posts: 518
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regd Sess Mgmt: How do i find out if the browser has cookies disables?