wood burning stoves 2.0*
The moose likes Servlets and the fly likes 1.if my browser does not support cookies,and my server sends a cookie instance what w 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 "1.if my browser does not support cookies,and my server sends a cookie instance what w" Watch "1.if my browser does not support cookies,and my server sends a cookie instance what w" New topic
Author

1.if my browser does not support cookies,and my server sends a cookie instance what w

senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
1.if my browser does not support cookies,and my server sends a cookie instance what will happen??
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
The cookie will not get stored and you won't be able to keep a session or other data for the user. Alternatives to cookies - hidden variables in forms and URL rewriting.
Bill
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5371
Originally posted by William Brogden:
The cookie will not get stored and you won't be able to keep a session or other data for the user. Alternatives to cookies - hidden variables in forms and URL rewriting.
Bill

If you are usinng session object in that case if cookie is not supported by client then url rewriting in used for session.
CMIW


"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
Sandeep Jain
Ranch Hand

Joined: Oct 25, 2000
Posts: 124
You cannot do session handling


Try and Try Till u succeed<br /> <br />Sandeep Jain
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Originally posted by Ravish Kumar: then url rewriting in used for session.

I prefer to say "url rewriting can be used for maintaining the session. This is not an automatic process. You often have to turn support for url rewriting on in the configuration settings.
Originally posted by Sandeep Jain:
You cannot do session handling

Yes you can, you can use URL rewriting.
The session is just a way of maintaining state over a stateless protocol. If you are prepared to handle it yourself and not use the mechanism provided by the container, then (as William said) hidden variables also work fine.
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 1.if my browser does not support cookies,and my server sends a cookie instance what w
 
Similar Threads
What will happen when my browser does not support cookies?
servlet
few servlet interview questions..
A cookie question
Cookies