Re: server-side caching to avoid losing client work-in-progress

Jose Rubio <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <004601c47e74$85567b40$6401a8c0@JRUBIO2000>
Just from the top of my head, you could have the page in question refresh
itself on a period interval using the HTTP-Refresh option and have the info
resubmitted. That way you can keep the information on the session, or better
yet persisit it to a database since the session wuld also timeout in the
server.

Hope it helps.

Jose

----- Original Message -----
From: "Dean, Michael D." <[email protected]>
To: <[email protected]>
Sent: Monday, August 09, 2004 6:13 PM
Subject: server-side caching to avoid losing client work-in-progress


> We have a web application where users often take an extended period of
time,
> due to research needs and info gathering, to populate a target document
> before saving to the server side. Often, the system timeout expires or
local
> gremlins occur, etc.. We've discussed using notification pop-ups and a
> JavaScript timer to "advise" the users to save their work but what if the
> user has walked away from the desktop when the pop-up emerges?   I'm
> wondering if there are viable strategies for auto-magically flushing
> in-process work to the server-side for caching within the ServletContext?
> What would be a viable key for storing the in-process work object in the
SC?
>
> Anybody got any primers on this topic?
>
>
> TIA,
>
> Michael Dean
> Sun Certified Programmer for the Java 2 Platform
> Washington State Department of Corrections
> ph: 360-570-6928
> fx:  360-586-1333
> mailto://[email protected]
>
> "Iron sharpeneth iron;
>         so a man sharpeneth the countenance of his friend"
>                              - Proverbs 27:17
>
>
___________________________________________________________________________
> To unsubscribe, send email to [email protected] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.