A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Target login page after timeout
Joined: May 13, 2001
Jun 10, 2005 11:33:00
I'm using form based authentication like so:
I've also go my webapp in an HTML frameset.
The problem I'm having is occurs when I have a session timeout; I need the login page to target the top level frameset otherwise I get the login page in each frame of the frameset. Yikes!
Anyone know a way to do this?
I doubt this is going to work:
[ June 10, 2005: Message edited by: Drew Lane ]
Joined: Jun 07, 2005
Jun 10, 2005 17:41:00
May be couple of suggestions(?)
filter and configured such that all the request go thru it, if session is new then redirect to parent Frame jsp, which contains login page.
2. Try to use tiles layouts (
). It is very flexible and amazing. I strognly suggest you to look into this. Frames are known for problems when you start adding server side code.
3. You can create 'public' directory where you can keep Frame jsp,which contains login page.
I agree. Here's the link:
subject: Target login page after timeout
simple problem with web.xml
Trouble with Authentication
form based authentication example
Dobut in Realm Authentication
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014