PHP Session in new window

From: Axrock (axrock_at_wazzup.co.nz)
Date: 01/13/05

  • Next message: tHatDudeUK: "form action = <?=$_SERVER['PHP_SELF']?> - stopped working"
    Date: Fri, 14 Jan 2005 08:51:17 +1300
    
    

    Hi,

    I really need some help here.

    I have a shopping cart where all cart contents are stored in a session
    array. At the checkout stage, a new window is opened on a secure URL for
    entering credit card details. This is a new window (JavaScript popup)
    because the payment section is actually part of the bank. They have a
    payment gateway. I am able to pass variables to this which will be returned.

    Problem is on return (successful transaction etc) I cannot access the
    session variables in the parent browser window.

    Can I some how force the popup window (with some PHP code in the return
    page) to pickup that session so I can access the session variables from the
    parent window and update them based on my transaction result?

    I can and have the ability to pass the session id into the popup which will
    be returned when the transaction is completed via the banks automated
    system.

    If somebody can help me out in this area, I would really appreciate it.

    C.


  • Next message: tHatDudeUK: "form action = <?=$_SERVER['PHP_SELF']?> - stopped working"

    Relevant Pages

    • RE: How to create a local server (i.e., localhost)
      ... logon user session and hard to automate in a non-interactive service ... Since the webserver.exe is a winform application which has a main window, ... already running on a given port? ...
      (microsoft.public.dotnet.languages.vb)
    • RE: automatic logoff - two scenarios
      ... in order to prevent losing established remote desktop connections or e-mail ... continue the session with a pop-up Yes/No window. ... If the user does not respond after one minute, the pop-up window will ...
      (microsoft.public.windows.server.sbs)
    • Re: cookie not sent with window.open
      ... through the web-server then the browser would not pass the session cookie to ... >> - the user clicks this hyperlink, which opens a new Internet Explorer ... >> open a new window calling useCookie.asp ...
      (microsoft.public.inetserver.asp.general)
    • Re: Concurrent session issues. Currently our website can have only one window open. Help me solve th
      ... Maybe I'm abusing the use of $_SESSION but I have data entry processes ... way I know that this would be possible (uses arrays in arrays). ... I were to open up a window and start the data entry it would overwrite ... each 'step1', then no matter how many windows they have open, each one ...
      (comp.lang.php)
    • Re: PHP Session in new window
      ... In the form that submits to the popup window, ... Create a hidden field in my form with the session ID ... >> Problem is on return (successful transaction etc) I cannot access the ...
      (alt.php)