This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JSP and the fly likes Too many session variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Too many session variables" Watch "Too many session variables" New topic
Author

Too many session variables

cle tan
Ranch Hand

Joined: Jun 11, 2012
Posts: 68
For my jsp
I use session to store

a. User Details
b. whether a submit button has been clicked, if not, redirect and show a message
c.whether user data has been inputted, if not, redirect and show a message
d.whether user data is of correct format

i want my jsp to show the error message even if javascript is disabled, which is why i used session variables
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Too many session variables
 
It's not a secret anymore!