Pass a WDDX packet, use hidden form fields and then a javascript form
submit.  There are probably a few other ways. 

-----Original Message-----
From: Ryan Guill [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 01, 2005 3:22 PM
To: CF-Talk
Subject: Re: Keeping a session alive

How would you force a "post" on re-authentication?

On 12/1/05, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> If you code your pages correctly, you can still have the form 
> submitted to its final destination.
>
> Let me try to describe this:
>
> 1. User logs in and session is created.
> 2. User types long form, needs a smoke break and takes off for a 
> two-hour lunch.
> 3. The session times out.
> 4. The user returns and finishes typing the form and submits it.
> 5. The application.cfc/.cfm catches the form submission, and checks to

> see if the session exists.
> 6. The session does not exist, so the form data is "packaged" in WDDX 
> or is stored in hidden form fields.
> 7. The user gets a login screen to re-authenticate.  The form data is 
> passed along as well.
> 8. Once authenticated, the form is then posted to the 
> originally-requested action page.
>
> Don't ask for code because I have not done this before, but it sounds 
> like it should work, huh?
>
> M!ke

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225886
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to