Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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

 
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: 13062
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: 5384
  • 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