[thelist] RE: storing data clientside
Peter Brunone (EasyListBox.com)
peter at easylistbox.com
Fri Aug 20 12:09:56 CDT 2004
Tim,
Actually, you can't really access ViewState from the client side
at all; it's solely a method of maintaining data across web requests.
As much as I make my living off ASP.NET, I really dislike
ViewState, since the same thing could be accomplished in a number of
less-annoying ways. ASP.NET 2.0 should provide some much better
state-maintenance methods.
What about just using a client-side array that stays in a hidden
frame or something?
Cheers,
Peter
-----Original Message-----
From: thelist-bounces at lists.evolt.org On Behalf Of Tim Kuhn
You didn't say what technology you are using on the server. Not to start
a platform war but if it is .NET you can store all of the data in
ViewState.
That not being the case you may be able to use dynamically created xml
to hold the data. I don't know how far back you compatibility needs go.
Here is an article that may help;
http://www.sys-con.com/story/?storyid=44013&DE=1
or the result of a quick Google;
http://www.google.com/search?sourceid=navclient&ie=UTF-8&q=client+side+x
ml
----------------------------------------------------------------------
hello Evolters,
I'm building a web application to calculate and store results of bridge
competitions. The basic idea is simple: the scores from the competition
are input via web browser, and the results can then be viewed when and
where ever. The problem comes from the fact that internet connections
some times go down... and the results should still be calculated. So I
need to have option of doing things client side, including storing the
data until the connection is back up.
With Flash MX's Shared Objects this would be easy, and that kind of
seems the obvious solution. Other option could be to use DOM to create a
document containing the data and then prompting the user to "save page"
- this would allow me to stick to the standards, but it might be more
difficult for the users. I don't want to go the ActiveX route - I want
to keep everything cross platform. Would PHP-GTK be good for me? I
haven't yet given a good look to it.
Any ideas?
thanks,
.kasimir
More information about the thelist
mailing list