My struts application maintains 2 small objects in the user’s session. One is 
for the users location info (mandatory) and the other is the User Object 
(optional).
I also save 2 cookies one being the user’s location info (mandatory) and the 
other the user’s saved login credentials (optional) to maintain the user’s
information between sessions.
 
When a user returns to my site I need to check for the location and User 
objects in the session. If they are not there I look for the cookies 
to get the information needed to recreate these session objects. I need to 
perform these checks on 90% of my actions and jsp pages however
I find these checks slowing down my application. What would be the most 
efficient way to provide these checks? Would it be to provide
the checks in the action base class?
 
Thanks for the help,
Jeff

Reply via email to