PDA

View Full Version : session over redirect


BubikolRamios
03-07-2009, 08:25 PM
in jsp;

<%
if (sessionUser == null)
{
%>Session expired !<%
return;
}
%>


ok, before return I can redirect to main page which picks up cookie (autologon) if there and the whole thing gets restored, at least partialy.

The question is, how can I push one page in beetween saying:
Session terminated, you will be redirected to main page in 5,4... seconds.

Without using js.

riwan
03-09-2009, 04:08 AM
You need to print this meta tag within the head tag

<meta http-equiv="refresh" content="5; url=http://redirectionpage">