hazelsisson
Programmer
Hello!
I have created a page that just passes people on to a different page, like this:
...
<head>
<%out.println("Loading..."
;%>
<meta http-equiv="REFRESH" content="0;
URL=<%=response.encodeURL("absoluteUrl"
%>">
</head>
...
This works fine when cookies are enabled.
But when they are not, it doesn't keep the session going and before you see the next page it takes you back to the login page. The condition for going back to the login page is if there is no session.
This has led me to believe that it is the encodeURL bit that is causing the problems! I have tried using encodeRedirectURL() too but that does the same.
Does anyone have any idea why it's not working?
Thanks,
Hazel
I have created a page that just passes people on to a different page, like this:
...
<head>
<%out.println("Loading..."

<meta http-equiv="REFRESH" content="0;
URL=<%=response.encodeURL("absoluteUrl"

</head>
...
This works fine when cookies are enabled.
But when they are not, it doesn't keep the session going and before you see the next page it takes you back to the login page. The condition for going back to the login page is if there is no session.
This has led me to believe that it is the encodeURL bit that is causing the problems! I have tried using encodeRedirectURL() too but that does the same.
Does anyone have any idea why it's not working?
Thanks,
Hazel