Last post Nov 02, 2010 02:59 PM by Dufresne
Oct 28, 2010 02:26 PM|Dufresne|LINK
I'm currently work on a Mobile Web project.
Here is the thing i must do ;
Suppose that i've a web page that gets username from client .
When client enter a username and hit the button ; if there's a connection between IIS and client , username shall be sent to IIS.
but if there is no connection between IIS and client , username shall be stored at client side.
How can i do it ?
Thanks in advance,
Oct 28, 2010 03:09 PM|wolfxyzme|LINK
Clientside state management can be handled in a many ways.
1. You can store data in hidden fields
2. You can store data in View state
3. You can store data in cookies
4. You can store data in Query strings
5. You can store data in a Controls state
Hope this helps?
Oct 28, 2010 03:26 PM|Dufresne|LINK
Are you sure that all those methods will work on client-side when there's no connection ?
First, I must detect on the client side that there's no connection.
Later , again on client side, i must save data .If there's no connection on client side , then it shouldnt try to post the page.
And i guess , these actions shall be done on client side.
Oct 30, 2010 12:47 PM|roopeshreddy|LINK
First of all how can you browse a website with out connection, i mean without IIS. You need to deploy the application in IIS.
Hope it helps u...
Nov 01, 2010 07:33 PM|Dufresne|LINK
What i mean was ; you open a web-page , while page is open on , server goes down. Later client presses button, at that case , i better detect server is offline and save the data.
Well, i've found a way to do it,
The problem is , jQuery Mobile doesnt support Windows Mobile SDK 5.0 and XMLHttpRequest doesnt work on Mobile SDK 5.0
Nov 02, 2010 12:23 PM|roopeshreddy|LINK
If IIS goes down, Web Requests fail. Cannot help with Windows Mobile 5 / 6. you may check with Apple iPhone/ Android.
Hope it helps u...
Nov 02, 2010 02:59 PM|Dufresne|LINK
Thanks for the reply , roopeshreddy.
It seems Windows Mobile SDK 5.0 supports nothing.
I better find the way to upgrade it to later versions.