File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes stroring session values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "stroring session values" Watch "stroring session values" New topic

stroring session values

dale con
Ranch Hand

Joined: Apr 15, 2005
Posts: 93
Dear all

Can someone please show me how to store values in the session and then get the values out of the session.

I want to store username and password - so i don't want these values in a cookie

Many thanks for your help
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12868
This question belongs in the servlet forum. All servlet tutorials on the net cover this sort of thing.
It is sorta covered in the JavaRanch Style Guide.
subject: stroring session values