Welcome Guest, Not a member yet? Register   Sign In
Session serialized data... kinda? Dont understand the format
#6

(This post was last modified: 08-21-2015, 08:06 PM by jLinux.)

@Narf

So I got it working so far, but running into a little error. The session client will start a new session every X minutes, I think its after the current one expires. It wont log them out, it will just pass them over to another session.

This wouldnt be an issue if the session association was done in the My_Session_database_driver class, which is kinda why I wanted to do it in the first place there, I figured something like this would come up.

So, back to my initial question... Since the base64decode doesnt seem to properly decode the session data (when its a string, just before the session is logged to the DB), how can I decode it?

Im currently just going right for the session variable, which i dont think thats the best way to do it in CI, esp if I can look right thru the session data thats already in the function.

PHP Code:
if ($this->_row_exists === FALSE && isset($_SESSION['account_id'])) 
Reply


Messages In This Thread
RE: Session serialized data... kinda? Dont understand the format - by jLinux - 08-21-2015, 07:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB