hi people,

        As a part of authentication check, I am checking for a session
attribute to validate user login across pages.
eg:

if (session.getAttr("user")==null){
sendRedirect(loginpage);
}

But now, I am keeping these lines in all my jsp files(cut and paste)..If I
have to change somethg with that I need to change in all jsp pages..

Is there any better way than this?? like keeping session -checking code in
seperate file and including in all pages??

pls help.

Thanx in adv,
Deeps





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

Reply via email to