This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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: 15385
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
I agree. Here's the link:
subject: Disable browser cookies for a web application
jQuery in Action, 3rd edition