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
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: 13037
This question belongs in the servlet forum. All servlet tutorials on the net cover this sort of thing.
I agree. Here's the link:
subject: stroring session values
It's not a secret anymore!