Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

session management in ajax  RSS feed

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
How shall i manage session with ajax. Will the session id be sent automatically to the server with each request? If so is it sent as a cookie or url encoding?
 
Author
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Session management should work just the same with Ajax requests as it does for "normal" Web requests. The browser still sends cookies along with the Ajax request, so you should have no trouble tracking application using sessions on the server side.
 
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote a little thing on my blog a few weeks back that talks about session with certain types of Ajax applications.

http://radio.javaranch.com/pascarello/2005/10/31/1130778395760.html

Eric
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!