Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

checkout error with session id and ssl


bba11

Recommended Posts

Hi there,

 

When I buy something without activated ssl procedure everything works fine, but by the time I activate ssl, I get the errors and the order is not getting through.

 

Without ssl the link that confirms the order on the checkout_confirmation.php page is

http:/www.server.com/checkout_process.php?sTotal=49.95

 

With ssl the link in the link looks like this one

https://www.server.com/checkout_process.php?osCsid=63bde815b31bae96cdcf7e56513f9ab2?sTotal=77.95

 

So the checkout_process.php page is waiting to get sTotal but in fact it is getting the session id. And that only as long as ssl is activated.That looks like it is the problem. Because the errors I get are the following:

 

---------------------------------------------------------------

Warning:

session_start() :The session id contains illegal characters, valid characters are only a-z, A-Z and 0-9

 

session_start() Cannot send session cookie - headers already sent by (output started at /home/www/server.com/www/includes/functions/sessions.php:67)

 

session_start() Cannot send session cache limiter - headers already sent (output started at /home/www/server.com/www/includes/functions/sessions.php:67)

Link to comment
Share on other sites

  • 2 weeks later...

I fixed it on my own!

the order confirmation link was missing a flag that deleted

the session id before confirming the order. You fin more info

in the html_output.php file when you search for

 

// Add the session ID when moving from HTTP and HTTPS servers or when SID is defined

 

If you need more info send me message

 

Axel

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...