File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Disable browser  cookies for a web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Disable browser  cookies for a web application" Watch "Disable browser  cookies for a web application" New topic

Disable browser cookies for a web application

Raj Jindal
Ranch Hand

Joined: Jan 17, 2003
Posts: 50
I have a web application that uses cookies for session management. cookies are disabled in the browser where the application in accessed. What will happen, an error will occur or the page will be displayed successfully when the user will access a page using cookies in a browser with disabled cookies.
Thanks in advance
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
Why don't you go and disable the cookies and goto the page and find out? That is the easiest and best way to see what happens.
You will see fist hand that there is no way to track a person with the cookies on their browser. Whenever you try to find the cookie it will not and you code will do whatever it is told when the cookie is not there.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Not really a web services question. Perhaps a servlet question.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
It is sorta covered in the JavaRanch Style Guide.
subject: Disable browser cookies for a web application
Similar Threads
unique session for every tabs of browser window
Problem regarding to Cookies with EL, HFSJ pg 386
does request.getSession().setAttribute work if cookies disabled
Disabling Cookies, created problem in web application??