Last post Feb 19, 2013 12:03 PM by bchernick
Feb 11, 2013 09:56 AM|bchernick|LINK
I have a fairly conventional Dot Net 4.0 (C#) web application that passes around a few session variables between pages. So far, so good.
Now someone ran the app on their iPhone and got a minor error. The only way this error could occur, so far as I can tell is if a particular session variable were lost in the transition between one page and the next.
Is there any factor specific to iPhones and other mobile devices that could account for this? All conventional use on PCs has been without incident.
(This app wasn't even designed for mobile devices, although that may yet happen.)
Feb 11, 2013 10:03 AM|AidyF|LINK
If you are losing the Session then the mobile device is rejecting your site's cookies.
Feb 11, 2013 10:04 AM|MetalAsp.Net|LINK
I doubt it, only because session is maintained on the server not the client. So it shouldn't matter where you're accessing your page from. I would think it's something else.
Feb 11, 2013 11:20 AM|BrockAllen|LINK
Browsers have limits on the amount of cookie data per-domain:
Is it possible that your domain is creating more than 4K of cookie data?
Feb 11, 2013 01:19 PM|bchernick|LINK
Actually there's only one cookie in my system and its value is a string that normally will not be more than 20 or so characters.
Feb 12, 2013 11:43 AM|roopeshreddy|LINK
Is it reproducable every time? Moreover, did you tried on other devices?
Feb 13, 2013 01:24 PM|bchernick|LINK
Actually the problem may be one of communication. My app was set to a timeout of 300 minutes. No one told me the company web server was set to 30 minutes.
The testing continues...
Feb 19, 2013 02:44 AM|roopeshreddy|LINK
Any Updates on this issue? Are you still facing it?
Feb 19, 2013 12:03 PM|bchernick|LINK
Deep in testing right now. So far, so good.