If you have some session attributes in your application, then it is very
easy to do so. Whenever a user directly tries to access any action, first
try to get that session attribute. If it is null, redirect to login page.



-----Original Message-----
From: Abhimanyu Koul [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 12, 2006 3:16 PM
To: Struts Mailing list
Subject: sessions

hi all!
i want to use session validation in my application. no user should be
allowed to view any page without logging in. if any user say copies the
action from the properties window into the address bar of the browser, he
should be directed to the login page. no error message should be shown
neither the user should be allowed to do some operations without logging in.

can we use some feature of requestprocessor for that. what are the various
methods to achieve that.

regards
Abhimanyu Koul
FinEng Solutions (P)  Ltd.
Dani Compound,
158, Vidyanagari Marg,
Kalina, Santacruz (East),
Mumbai - 400 098
Mobile : +91 9819510090



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to