Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Session Save


chadcloman

Recommended Posts

I need the help of someone who's familiar with how osCommerce handles sessions. I've searched the source code for a couple days and can't seem to find an answer.

 

Regarding this source file: catalog/includes/functions/sessions.php

 

In
tep_session_close()
, I inserted code to output the results of
session_encode()
, immediately before the call to
session_write_close()
.

 

In
_sess_write()
, I inserted code to output the session encoding string that's written to the database.

Using osCommerce, I can easily create a situation where these two values are different, and at least one encoded variable has a different value. I can't figure out why that's the case. To the best of my knowledge they should be the same, or at least have the same values. What am I missing?

 

I'm using PHP 5.2.6 with register_globals off, and osCommerce 2.2RC2a. The session.serialize_handler is 'php'. Feel free to get technical.

Check out Chad's News.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...