struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Kumar Sharma" <>
Subject RE: Session Times Out
Date Mon, 03 Nov 2003 08:48:50 GMT
if session becomes null than try this

if ( session.getValue("SESSIONNAME")==null ){%>
		<script language="JavaScript">"Index.jsp",fullscreen="yes");
			//winself = window.self;

try this and than U can set one more attritbute(Flag) which on the Index
page can show a message that the user is here because of timeout.

Amit Kumar Sharma
SysArris Software Pvt Ltd
120A, Elephant Rock Road,
3rd Block, Jayanagar,Bangalore - 560011
Tel.: 91-80-665 4965 / 665 5052 <>

-----Original Message-----
From: Caroline Jen []
Sent: Monday, November 03, 2003 11:54 AM
Subject: Session Times Out

I check if session expires for each action in the
application.  If the session times out, I forward the
user to index.jsp so that the user can log on again.

How do I inform the user with a message that he/she is
at the welcome page because the session has expired?

Do you Yahoo!?
Exclusive Video Premiere - Britney Spears

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message