Re: secure site question
| From: | Tom Rogers | Date: | Wed, 23 Apr 2003 14:37:06 +0000 |
| Subject: | Re: secure site question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145019@lists.php.net to get a copy of this message | ||
Hi,
Thursday, April 24, 2003, 12:26:04 AM, you wrote:
ML> I'm having a problem and I'm not quite sure what the best way to solve it is
ML> so I'm looking for some guidance. I have an e/COMMERCE site that uses
ML> sessions named www.xxx.com. The final step (payment) involves getting credit
ML> card information so I bop over to https://secure.xxx.com
ML> which serves up the
ML> page correctly. The problem is that it knows nothing about my previous
ML> session so the cart and login information is no longer there. How can I let
ML> the secure page know what's going on with the order? I'm trying to avoid a
ML> kludge here so I'm hoping someone has already faced this problem.
ML> Thanks
You also have to pass the sessionid and use that to restart the
session. You can do that in the url
https://secure.xxx.com?sess=xxxxxxxx
Then
if(isset($_GET['sess'])){
session_id($_GET['sess']);
}
session_start();
--
regards,
Tom