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.

Link to comment
Share on other sites

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 -,-.

Link to comment
Share on other sites

"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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.