Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing info in a session  RSS feed

 
Suresh Kanagalingam
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if I am posting in the correct group or not but,
Can anyone give me some lead on sessions? What I want to do is pass information from one HTML screen to another. This info changes depending on the person's ID.
Thanks
Suresh
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Suresh -
There are *lots* of potentially appropriate forums -- it all depends on what techniques best help you achieve your goal.
The most popular approach to this is probably using cookies -- small text files written and stored on the client that tell a server if a person has visited before and possibly what they've done so far, etc. The Servlets forum would be the best place to look fpr help.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
Sean MacLean
author
Ranch Hand
Posts: 621
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suresh,
You definitely want to be looking at servlets/jsp's where you can use HttpSessions (into which you can stuff serializable data). I'm going to move this to the servlet forum.
Sean
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!