();
}
%
--peter
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Smith Jason
Sent: Wednesday, June 13, 2001 6:38 AM
To: Orion-Interest
Subject: Force Logon after X minutes
I am custom user-authentication.
The user and groups
-Interest
Subject: Force Logon after X minutes
I am custom user-authentication.
The user and groups are in a database and I am using BASIC authentication.
How can I allow users to logoff w/o them closing their browser?
How can I force them to logon again after x minutes
I am custom user-authentication.
The user and groups are in a database and I am using BASIC authentication.
How can I allow users to logoff w/o them closing their browser?
How can I force them to logon again after x minutes?
Thxs,
Jason
%
if (session != null) {
session.invalidate();
}
%
--peter
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Smith Jason
Sent: Wednesday, June 13, 2001 6:38 AM
To: Orion-Interest
Subject: Force Logon after X
();
}
%
--peter
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Smith Jason
Sent: Wednesday, June 13, 2001 6:38 AM
To: Orion-Interest
Subject: Force Logon after X minutes
I am custom user-authentication.
The user
Hello Smith,
Create a class that implements HttpSessionBindingListener.
In the valueUnbound(HttpSessionBindingEvent event) put whatever code
you need to logout .
When you create the session, store an object of that class, so when
the session expires the user logout.
--
Best regards,
Rafael
Title: RE: Force Logon after X minutes
The browser remembers the Authorization header for that realm. There are couple of ways you can force browser to relogin.
Option 1)In your code have a kind of check for time interval after time interval if you get a request send the 401 response.
I use