Session serialized data... kinda? Dont understand the format |
(08-20-2015, 12:55 AM)Narf Wrote: It's Base64-encoded, not encrypted - there's a big difference. I would MUCH rather put a single column in the ci_sessions table, I thought you were against that initially... And if its encoded and not encrypted, then I would think base64decode would work, using the following: PHP Code: log_message('error','DECODED DATA: ' . print_r(base64_decode($session_data), TRUE)); That doesnt work, obviously. You dont like that im trying to get it from the session data... which I dont get. Im not messing with the data as far as CI is concerned, im just intercepting it to read it, and passing it as it is back to CI... as far as CI is concerned, it never gets changed. Im hardly even messing with the framework. I just create theĀ MY_Session_database_driver::write method to read the params, then pass the data EXACTLY as it is given, to the CI_Session_database_driver::write method, so whats the big deal? (Ps, if any of that sounded rude, sorry, im not trying to come off that way, just dont get why you are so uptight that im doing this) |
Welcome Guest, Not a member yet? Register Sign In |