jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes cookies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "cookies" Watch "cookies" New topic
Author

cookies

swichika reddy
Greenhorn

Joined: Dec 28, 2004
Posts: 20
hi all,

i have doubt regarding cookies topic.what will happen if client disables the cookies and server sends a cookie to the client.

waiting for a reply

bye
swichika
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The cookie will not be saved to the users' machine.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by Ben Souther:
The cookie will not be saved to the users' machine.


And it means cookie doesn't work in that case.
Sharad Agarwal
Ranch Hand

Joined: Sep 11, 2002
Posts: 167
And if it is sessions that you are worrying about, the app server will try to use URL encoding for session management.


Alco-Haul: We move spirits.
Demented Deliberations of a Dilettante
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
And if it is sessions that you are worrying about, the app server will try to use URL encoding for session management.

URL encoding is NOT automatic, you must provide the code to do it.
Bill
 
wood burning stoves
 
subject: cookies
 
Similar Threads
Disabling Cookies
WA #1.....word association
Session sharing (JSP-PHP)
handling next and back buttons in javascript
session ID changes