• 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

Session Tracking with HttpSession

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Session tracking using HttpSession is implemented using Cookies,URL re writing------Justify ...
If my question is wrong...why should we go for HttpSession Object , though we have cookies,URL rewrting ,etc
priya
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
httpsession is based on transient cookies i.e. the cookie dies when the browser is closed.
Persisitent cookies are the which are stored in secondary storage. There is a limit to the number of cookies that be stored for a server. I guess it is 20 and size of each cookie is also limited. There is also security concern with using cookies if the machine is shared. For example is some site uses cookies and stores password in cookie. I was actually able to read my own password from the cookie. If someone else uses your machine he/she will be able to get hold of your password.
Problem with url rewriting - It can only be used with dynamic pages and not static pages i.e HTML.
Is some one disables cookies then URL rewriting is the only way out.
[ August 11, 2003: Message edited by: Pradeep Bhat ]
[ August 11, 2003: Message edited by: Pradeep Bhat ]
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://developer.java.sun.com/developer/onlineTraining/webcasts/pdf/webcamp/dchen/dchen5.pdf
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic