The reason I ask is that if a user were to walk away from there desk and their session has expired, they would be redirected to the login screen. I see your point though. If they were to go to another sight, view mail, etc., they would be redirected to a login page. I guess I will have to redirect them on an Action if their session has expired. Thanks, Chad -----Original Message----- From: Clapham, Paul [mailto:pclapham@xxxxxxxxxxxxx] Sent: Friday, September 17, 2004 1:18 PM To: Java Programming on and around the iSeries / AS400 Subject: RE: Redirecting with HttpSessionListener Yeah, I have seen that asked a lot. When a session expires, there is no request and hence nothing to redirect. Usually the goal of people who ask this question is to notify the user that their session has just timed out. However this is pointless because at this moment the user has not connected to your site for a long period of time and may well have gone off to do something else. They don't need a message from you busting into their Hotmail session, even if that were possible. What is your reason for asking this question? PC2 -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of cornelius, chad Sent: September 17, 2004 10:15 To: 'java400-l@xxxxxxxxxxxx' Subject: Redirecting with HttpSessionListener I am sure there are tons of people who have asked this question, but does anyone know of a way to redirect if a session expires using the HttpSessionListener interface? Thanks, Chad -- This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.