• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1.if my browser does not support cookies,and my server sends a cookie instance what will happen??
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 5399
1
Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You cannot do session handling
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
them good ole boys were drinking whiskey and rye singin' this'll be the day that I die. Drink tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic