Results 1 to 4 of 4

Thread: A quick question about sessions.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2008
    Posts
    98

    A quick question about sessions.

    HI guys, just a quick question.

    Im using session varibles to hold data etc, problem is before the data gets inserted into a database, it has to process a card payment. If the card payment is accepted it then gets inserted, problem is the payment portal is on a different website not hosted by ourselves.

    With session varaibles are they held when you navigate away from the site i.e to another url? If not, any ideas what i could use as an alaternative?

    thanks again.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: A quick question about sessions.

    No, they're not passed to another application such as in your case. If you are using a payment gateway, then your payment gateway will have specified exactly how to pass this information along. It should be in their documentation, we can't speculate as to what it is expecting.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2008
    Posts
    98

    Re: A quick question about sessions.

    Thanks for the reply mendhak. I pass something to the portal but that then gets passed back after to our site, so therfor we need to use the preivous set sessions again after the payment portal returns to our site.

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: A quick question about sessions.

    There must be an identifier which makes this transaction unique. Consider storing that unique identifier along with your session information in a database table, so that when it comes back, you have the information ready.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width