• 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

 
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all !
I wanted to clear my concepts about session tracking. I think that when HttpSession object is created some string is stored on the server for some time and cookies are not created on the browser. Am i correct ?
Regards
Danish
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
HttpSession Interface is for storing some client related information in the server so that the information could be accessed accross all the pages used up by that client.This will not stop the <cookie> getting created.By default when u request a webpage for the first time,ur webserver generates a <cookie> and is appended to the response header and send back to the client.In the client side if the <cookie> option is on then the cookie is stored and sent in request header for the next request by the same client.If u have some information that needs to be shared accross pages then session objects are used.<Cookies> live on the client whereas ur session objects are stored on the server.For the server to identify if its the same client <cookies> are passes to and for between client and server.
Cheers
Geeta
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic