This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 this week in the OCAJP 8 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: 13018
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!