Jump to content

[SOLVED] http to https on different domain


jakebur01

Recommended Posts

Store the session data serialized in a database table with the session id.

 

Then redirect the user to the secure page with the session id e.g <https://www.domain.com/regen.php?PHPSESSID=832h2bdssdfadfd>

 

regen.php renames the session id to a random value to avoid session fixation and stores it in a secure cookie and redirects them once again to another secure page where they can continue browsing.

 

I'm assuming thats the kind of thing your looking for.

one site can read another's cookies, althgouh its a security whole in IE7m it still can.

 

in the cookie http read request choose domain="whatevertheredirectsitewas"

and because of IE7 bad programming, and IE6, and FF2 not being fixed. u will get it -,-.

"you cant share sessions across different domains and http - https make them different

 

why not drop the order details in the db before switching to https

 

you can get the last db_id and append it to the checkout link then perform a $_GET['db_id'] to catch the id in the https page. Then use the id to query the db and retrieve the order details"

 

a good programming friend told me this

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.