Depending on the user's browser version, you could use some of the new
client-side storage. I've got a plugin called jStore which was
designed to do just this. Maybe it'll get you where you're going?

http://eric.garside.name/docs.html?p=jstore

On Apr 15, 3:10 pm, gibble <gib...@gmail.com> wrote:
> That's what I figured, I think I'm going to work out a generic json/xml data
> store web service and write a jQuery plugin to access it.
>
>
>
> James-279 wrote:
>
> > There really is no such thing, since each HTTP request is generally
> > stateless without any relations between each call. Without using
> > cookies and through the URL (GET method), the other only common way is
> > through the POST method. That would mean every page change requires
> > some kind of form submission with POST data, which is very hackish and
> > not recommended.
>
> > This all depends on what your application is doing. The recommended
> > method is to create a session id for the user, use cookies to store
> > that id if available, and if not, pass that id along the url.
>
> > I think I've read of another hackish method of being able to set a
> > window name via the DOM to pass info, but I don't have any specifics
> > on it and whether it works on all browsers or not.
>
> > On Apr 15, 5:01 am, gibble <gib...@gmail.com> wrote:
> >> Personally, I find the .data() function in jQuery very useful. I can keep
> >> my
> >> html clean, and just attach data to the elements.
>
> >> What I'm finding myself needing though, is a way to persist some data
> >> client
> >> side across pages.
>
> >> Unfortunately, it wasn't as simple as $(window).data('key', 'value')
>
> >> Aside from cookies and appending to the url, is there a way to accomplish
> >> this client side?
>
> >> I couldn't find a plugin while searching yesterday that would accomplish
> >> this, and was hoping someone here had an idea.
>
> >> Thanks
> >> -c
> >> --
> >> View this message in
> >> context:http://www.nabble.com/jQuery-sessions-%28persisting-data-across-pages...
> >> Sent from the jQuery General Discussion mailing list archive at
> >> Nabble.com.
>
> --
> View this message in 
> context:http://www.nabble.com/jQuery-sessions-%28persisting-data-across-pages...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to