Re: handling timeouts

2006-12-31 Thread Jacob Munson
For your 'think for a long time' example, I'd suggest you look at using
javascript and cookies.  In Blogger, for example, while you're posting a
message, the system tells your browser to save the form's contents to a
cookie every few seconds.  So if your browser crashes and you go back to
blogger, you get the 'saved' post back.

In case you're wondering, I currently use BlogCFC, but I've been a blogger
for almost 5 years now, and originally I had my blog on Blogger, long before
it was purchased by Google.

On 12/31/06, Richard White [EMAIL PROTECTED] wrote:

 hi, i am just configuring my system to handle timeouts for the first time.

 i was just wondering if i could get some opinions on the best way to do
 this, or how most of the experts do it.

 specifically, i was wondering how to deal with data that needs to be
 saved. my system has some features that require the user to think about
 their input, maybe for some time so i was thinking that i should set the
 timeout to about an hour. but if they extend this time is there a way to
 automatically save the data they have not saved before it logs them out. do
 i put the save code in the timeout code in the application .cfc?

 i would appreciate any general opinions or advice regarding handling
 timeouts just so i can get a grasp on how you guys handle it.

 thanks very much for any help

 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265418
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: handling timeouts

2006-12-31 Thread Snake
Unless you specially want someone to be logged out, you can simply re-create
the session after it expires and carry on as normal.
If you do want the user to be logged out, then you could save the current
form data in a cookie, or alternately save the submitted data and post it to
the the login page and then return the user including the data back to where
they were after they login again. 

-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED] 
Sent: 31 December 2006 14:41
To: CF-Talk
Subject: handling timeouts

hi, i am just configuring my system to handle timeouts for the first time.

i was just wondering if i could get some opinions on the best way to do
this, or how most of the experts do it. 

specifically, i was wondering how to deal with data that needs to be saved.
my system has some features that require the user to think about their
input, maybe for some time so i was thinking that i should set the timeout
to about an hour. but if they extend this time is there a way to
automatically save the data they have not saved before it logs them out. do
i put the save code in the timeout code in the application .cfc?

i would appreciate any general opinions or advice regarding handling
timeouts just so i can get a grasp on how you guys handle it. 

thanks very much for any help



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265427
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4