Answered by:
My problem on a mobile web application

Question
-
User-2072548222 posted
Hi,
I put a label and command onto a web form, then wrote the code behind:
protected void Page_Load(object sender, EventArgs e)
{
Label1.Text = "0";
}But when I ran the website with Openwave Simulator, after I pressed the command, an exception would be thrown telling me try to increase the expire time of Session.
But if I didn't write "Label1.Text="0";" the exception wouldn't be thrown.Why?
Thanks
Saturday, August 11, 2007 7:20 AM
Answers
-
User2032526919 posted
Hi,
Seems as if OpenWave wouldn't understand cookies ASP.NEt sends. Try adding cookieless ="AutoDetect" to <sessionState> element in web.config file.
(ASP.NET tries to use Session state for page state with mobile devices)
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, August 11, 2007 8:21 AM -
User2032526919 posted
I think every major mobile phone & platform company has simulators etc. Nokia for example has Mobile Internet Toolkit: http://www.forum.nokia.com/main/resources/tools_and_sdks/listings/browsing_tools.html
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, August 11, 2007 1:51 PM
All replies
-
User2032526919 posted
Hi,
Seems as if OpenWave wouldn't understand cookies ASP.NEt sends. Try adding cookieless ="AutoDetect" to <sessionState> element in web.config file.
(ASP.NET tries to use Session state for page state with mobile devices)
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, August 11, 2007 8:21 AM -
User-2072548222 posted
Thanks a lot.
By the way, is there any other simulators that test mobile web applications?
Saturday, August 11, 2007 8:37 AM -
User2032526919 posted
I think every major mobile phone & platform company has simulators etc. Nokia for example has Mobile Internet Toolkit: http://www.forum.nokia.com/main/resources/tools_and_sdks/listings/browsing_tools.html
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, August 11, 2007 1:51 PM