Can't you post to a page on your site and on that page use cfhttp to
post to the CC validation and have them return the validation in that
request. This way, you keep session info.

Pascal

> -----Original Message-----
> From: Paul Jones [mailto:[EMAIL PROTECTED]
> Sent: maandag 31 mei 2004 17:33
> To: CF-Talk
> Subject: Need to maintain session state after leaving and
> returning to site
>
> I have a cold fusion application that has been working for
> the last couple of years.  It's a system that gathers airline
> reservation information, stores them in session variables,
> and then populate a database with the relevant reservation
> and ticketing information AFTER the authorized user has been
> authenticated by a login form.
>
> We are now in the process of extending the system to accept
> credit cards and serve the general public.  Our credit card
> validating bank gave us a form to be included in our
> application.  That form encrypts the data, posts the
> information to a page on their site, and returns an
> authentication code to a specific page on our page.  Based on
> a valid authentication code, we'd continue our processing or
> abort the process.  Everything works fine up to this point.  
> However, we have found that all our session information is
> lost when we receive a response from the bank.
>
> I've since confirmed this behavior by submitting a form to an
> offsite page and then have it return to my site.  
>
> I'm thinking that Cold fusion treats this as a new session
> since the request is effectively coming from another client.  
> I need all the information that was previously captured but I
> would rather not start storing anything in my database until
> I can validate the credit card information.  What are my
> options? Is there anyway around the session information being reset?
>
>  The following is the CFForm section of the posting form.  
> The address on my machine is 192.168.26.220.
>
> <cfform action=""> >         method="POST"
>         name="frmPayment">
>
>
> The following is the complete TicketPaymentRedirector.cfm
> template.  All is does is redirect back to my machine
>
> <cflocation
> url=""> > 6778&TN=456">
>
>
> At the top of PaymentConfirm.cfm,  I check the session
> variables I had set in previous pages and they are all gone.
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to