Web tier: servlets, JSP, Web frameworks: JSP WML and session ..deadly combination
- Posted by: Sanket Raut
- Posted on: July 26 2005 03:11 EDT
I am using jsp's to generate dynamic wml code
I am also using HTTPSession to maintain sessions
Everything works fine on simulator.
The Problem occours when we actually test our application using wap enabled phone.All session value are lost and session value returns null.
I even replaced all session objects with cookies for session management (which again runs fine on simulator) but fails on actual phone.
- JSP WML and session ..deadly combination by Duncan Mills on July 26 2005 04:20 EDT
- JSP WML and session ..deadly combination by Marina Prikaschikova on July 28 2005 04:39 EDT
- getting null in seesion variable on other page . by Mayur Sharma on March 22 2011 01:06 EDT
Does the phone support cookies? You'll probably have to use URL re-writing to store the session key rather than a cookie.
Hey thanx for your reply.
It worked ;-)
I'm having a related problem. How do you fix it?
Hello , I am new to jsp as well to wml too .. Problem is with Session variable . the page on which session variable are made , they are extracting on that page easily .... but on other pages ...they contain null values ...i am not able to get inserted values .
function used to set and extract session values :
<p>Name : <%=session.getAttribute("sesspassword")%></p> respectively //used on next page .
please help me out .
thanx in advance .