This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
senthil sen
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5390
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sandeep Jain
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot do session handling
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!