Tommy Berglund wrote:

> Hi everyone,
>
> how would I rewrite these so
> they would work for browsers without cookie-support...
>
> page1.jsp

<%@ page import=javax.servlet.http.* %>

>
> <jsp:useBean id="bean" class="bean.Bean" scope="session" />
> <body>

HttpServletResponse. encodeUrl(String url);

>
> <a href="page2.jsp">Link</a>

Something like this would rewrite the URL, eg. http://localhost.com/xx.jsp
will be changed to http://localhost.com/xx.jsp?sessionID=99098788971

The session ID will be sent in the URL instead of in the cookie.

/Magnus

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to