Something that you may consider, is on completion of the form, check to see if the 
session
is still active. If not, include the login page and allow the user to re-login, but 
pass
along the form values that were submitted (in hidden form fields) along with the login
information. So after the user logins again, they can be redirected to the form that 
they
started on, but each field will be populated with the information passed through the 
hidden
form fields.

Thank You,
Laurie Rose
ShopStiX Inc.
(416) 635-5448
http://www.shopstix.com <- Canada's Premier Internet Shopping Experience
http://www.shopstixmall.com <- Build your online store in only a few clicks! 
http://www.shopstix.net/forums <- SX:Forums - your ColdFusion community solution

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Karl Zarudny
> Sent: January 24, 2002 11:27 AM
> To: CFUG
> Subject: [CFTALKTor] Arrgh.... still having form problems.... Help!
> 
> 
> Hi gang.
> 
> I'm on the verge of pulling out what little hair I have left. I have an
> application which requires login. Once the user has logged in 
> successfully,
> they stay logged in as long as there is activity. I have my 
> session timeout
> set to 45 minutes which should be more than enough for the 
> average user. The
> problem is, some users will start filling out a form, leave their computer
> for an hour, and then return to finish filling out the form and submit it.
> At that point the session has timed-out so the user gets kicked 
> back to the
> login screen, the info from the form is lost and they have to fill it out
> again. I've tried using javascript's history but that has worked - it
> returns to the form ok, but the values are not there.
> 
> What I would like is for the user, on successful re-login, be returned to
> the form they were on and have it re-populated with the data they had
> already provided. Or, after successful re-login, have the form data passed
> to the cf page that processes the form.
> 
> I have multiple forms on the site, with differing fields and options, and
> rather than hardcode something to handle the problem for each 
> form, I'd like
> to have a single bit of code that will handle the problem regardless of
> which form was submitted. Is this an impossible dream? Or am I simply
> missing something?
> 
> Pointers in some direction (except for up with the index finger), are
> appreciated.
> 
> Thanks,
> Karl
> 
> -
> You are subscribed to the CFUGToronto CFTALK ListSRV.
> This message has been posted by: Karl Zarudny <[EMAIL PROTECTED]>
> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
> Manager: Kevin Towes ([EMAIL PROTECTED]) 
> http://www.CFUGToronto.org/
> This System has been donated by Infopreneur, Inc.
> (http://www.infopreneur.net)
-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Laurie Rose" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to