Maintain server state of a page + Javascript page navigation
Maintain server state of a page + Javascript page navigation
- Subject: Maintain server state of a page + Javascript page navigation
- From: shravan kumar <email@hidden>
- Date: Mon, 6 Jul 2009 04:54:35 -0700 (PDT)
Hi Group,
Could you please advise me a solution to achieve below functionality:
Scenario: -------------
I have a page which gets all the data like text content [3000 lines or more], images info [about 500 or more] once when the user requests for this page.
Once this data from the server has arrived, we will be displaying this whole data part by part by splitting this data into sub-pages through _javascript_. So, user actually sees the sub-page rather the whole page received from the server.
There can be around 40 sub-pages or more.
While navigating through each of these sub-pages user may perform a server action like edit some text and save, rotate an image and save, ... and all these actions do not refresh the whole page/ sub-page (like we see in ajax implementations) and just update a particular field.
I
assume that there might be some time-gap say 10 minutes or more between each of the server actions performed by the user.
During these times as you know, we have to maintain the session of this user in the server (this can be achieved through lets say session timeout value), state of this page in the server, ...
Problem: ------------- How can I maintain the state of this page (generally whenever we do a submit WO app returns with a new context info, correct?), so all my actions are valid and there are issues of Broken pipe/ page not in the cache/ ...
I thought of just pinging the server every few seconds for some dummy data like: how are you doing? or something like gmail does? However, I do not know how to exactly implement this behavior.
Please advise.
Thanks in advance, Shravan Kumar. M
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden