-
Mar 12th, 2012, 11:35 AM
#1
ASP.Net jQuery web app - disconnected?
I've got a web app that uses jQuery/JS logic on the page to ajax post data to ASP.Net web methods.
What options do I have for moments when the user might be disconnected from the internet - out of touch with those web methods?
Where can I store data locally?
How about if it's an iPad device? What options do I have with a device like that??
-
Mar 12th, 2012, 11:47 AM
#2
Re: ASP.Net jQuery web app - disconnected?
Cookies. Or the [relatively] new web storage. I don't think iDevices are significantly different in this case (assuming you're accessing the app from a browser in either environment).
-
Mar 12th, 2012, 11:53 AM
#3
Re: ASP.Net jQuery web app - disconnected?
Do cookies have limits on the amount of data? Or do I simply spin up another cookie once the limit is reached??
-
Mar 12th, 2012, 12:26 PM
#4
Re: ASP.Net jQuery web app - disconnected?
Some pertinent info on cookie restrictions (probably still valid). They're not really intended to hold large amounts of data.
-
Mar 12th, 2012, 12:29 PM
#5
Re: ASP.Net jQuery web app - disconnected?
Yeah - I found that link. Seems cookies are a good way to go for small amounts of data - like current "cart" for shopping sites.
That makes sense for me as well - I do not believe I have that much data. Just wanted to make sure I was going down a good path.
-
Mar 12th, 2012, 01:35 PM
#6
Re: ASP.Net jQuery web app - disconnected?
Perhaps it goes without saying, but I wouldn't try to make a web app that functions seamlessly without the web; a simple "sorry, can't connect; try again later" notice may be preferable in many cases.
-
Mar 12th, 2012, 01:59 PM
#7
Re: ASP.Net jQuery web app - disconnected?
They might drive me towards writing a "local" HTTP listener so I can do a more seamless and full-like "experience".
Options are to have 3g/4g setups on all traveling iPads - that's hardware $$'s and ongoing subscription fees - I'm a one time cost
At least PPC's could run MS SQL CE - I have no idea what an iPad can have for a DB!
-
Mar 12th, 2012, 03:46 PM
#8
Re: ASP.Net jQuery web app - disconnected?
-
Apr 24th, 2012, 11:04 PM
#9
Banned
Re: ASP.Net jQuery web app - disconnected?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|