> You didn't include any code, so all I can offer is that you can use the
> response.encodeURL(URL) method to enable URL re-writing. It's nice
> actually, if the browser allows cookies it will uses them for session
> tracking, otherwise it will rewrite the URL.
Sorry, meant to include some source but forgot :o/ Thanks for the help
anyway
Here's the important bits of code for "MyServlet"...
session = req.getSession(true);
resp.setContentType("text/vnd.wap.wml");
PrintWriter out = new PrintWriter(resp.getOutputStream());
// various WML headers
.....
// make wml call itself again after short delay ~100ms
out.println("<card id=\"card1\" ontimer=\""+
resp.encodeURL("http://localhost:8080/path/to/servlet/MyServlet")+"\">");
out.println("<timer value=\"10\" />");
// rest of servlet
etc.......
If I do a check for isRequestedSessionIdFromCookie() this returns true
(even though the WAP microbrowser does not support cookies) However, the
session is NOT kept from request to request... very annoying!
So it appears even if I do rewrite the url with encodeURL() it assumes that
the browser supports cookies when it doesn't
Any further help would be appreciated
matt
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html