Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Tracking Example

 
Rishabh Shah
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to work on Application which maintain session of Users. Now, there are different methods for session tracking, which are
1) Cookies,2)URL Rewriting,3) Session.

In above method, which are best and why. Can anyone give me example of it ?

I have done example via HttpSession. but, to make big application like shopping cart or online examination which is best for develope huge application ?
 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am not sure what is meant by #3 in your post, Session.

If cookies are disabled then URL Rewriting comes into the picture.

If you refer any JSP/servlet book you will get this information.

For example you can yourself run a servlet/jsp in your local webserver with
1) Cookies enabled
2) Cookies disabled
and you can spot the jsessionid.

Regards,
Amit
 
vipul bondugula
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is better to search in the threads before posting a new thread.

You can search in the previous threads on session tracking.
 
Rishabh Shah
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks...I have gone through previous thread for sessions...and thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic