Click to See Complete Forum and Search --> : JSP Login


wtpandar
09-26-2006, 12:36 AM
Hi,

I am trying to make a secure login. I am using Java beans to maintain the session.

I am able to login and logout without too much problems.

My problem is, i have website that uses frames and evey page i would like to make secure with Java code that checks whether a session is valid. if there are no sessions available then the user is directed to the login page. the problem is when a user selects and item to display in the main part of the frame the page in the main section does not recognise that there is a session already available.

I have set the bean to session, but it does not seem to work

any hints?

Thanks

Khalid Ali
09-27-2006, 01:12 PM
are you saying that while the top frames are still in session but the middle 1 loses track of it?

Waylander
09-27-2006, 09:07 PM
If your able to, not using frames is a solution.

Waylander.

Khalid Ali
09-27-2006, 09:18 PM
If your able to not using frames is a solution.

Waylander.

couldnt agree more, however, it does not make sense. please elaborate more

wtpandar
09-28-2006, 07:00 PM
Thank you all for your replies.

The first reply is exactly what is happening. If i could i would like to not use frames, but i want to keep the webpages all modular. It is easier to follow and maintain.

Is there a way to get the middle frame to also recognise the session?

Thanks