You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by James Bell <ja...@eek.com> on 2001/04/06 16:26:45 UTC

Logon Dialogs

Hi Everyone

How force the user to re-enter their logon credentials after their session has timed out?

Thanks
James Bell

Re: Logon Dialogs

Posted by Wayland Chan <in...@yahoo.com>.
You can create a taglib that checks that the user is
logged on. Add the tag to each page and it should
redirect them to your login page if they haven't
logged in, jumping to middle of site via bookmark, or
session has timed out.

In the struts-example webapp, look at mainMenu.jsp and
notice the <app:checkLogon> tag.


Wayland Chan

--- James Bell <ja...@eek.com> wrote:
> Hi Everyone
> 
> How force the user to re-enter their logon
> credentials after their session has timed out?
> 
> Thanks
> James Bell
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/