-
JSP WML and session ..deadly combination (5 messages)
- Posted by: Sanket Raut
- Posted on: July 26 2005 03:11 EDT
Hi,
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.
Please reply....
Sanket RAutThreaded Messages (5)
- 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
- Thanks by Sanket Raut on August 08 2005 06:58 EDT
- Re: Thanks by Johannes Correa on October 04 2006 09:20 EDT
- Thanks by Sanket Raut on August 08 2005 06:58 EDT
- getting null in seesion variable on other page . by Mayur Sharma on March 22 2011 01:06 EDT
-
JSP WML and session ..deadly combination[ Go to top ]
- Posted by: Duncan Mills
- Posted on: July 26 2005 04:20 EDT
- in response to Sanket Raut
Does the phone support cookies? You'll probably have to use URL re-writing to store the session key rather than a cookie. -
JSP WML and session ..deadly combination[ Go to top ]
- Posted by: Marina Prikaschikova
- Posted on: July 28 2005 04:39 EDT
- in response to Sanket Raut
-
Thanks[ Go to top ]
- Posted by: Sanket Raut
- Posted on: August 08 2005 06:58 EDT
- in response to Marina Prikaschikova
Hey thanx for your reply.
It worked ;-) -
Re: Thanks[ Go to top ]
- Posted by: Johannes Correa
- Posted on: October 04 2006 09:20 EDT
- in response to Sanket Raut
I'm having a related problem. How do you fix it? -
getting null in seesion variable on other page .[ Go to top ]
- Posted by: Mayur Sharma
- Posted on: March 22 2011 01:06 EDT
- in response to Sanket Raut
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 :
session.setAttribute("sessumobile", user1);
<p>Name : <%=session.getAttribute("sesspassword")%></p> respectively //used on next page .
please help me out .
thanx in advance .