Welcome Guest, Not a member yet? Register   Sign In
Encrypted session BLOB?
#13

(02-01-2017, 11:23 AM)Narf Wrote: session_regenerate_id() will trigger a write() call, and thus - you can update it right after that.

That's exactly what I tried. The line after session_regenerate_id() I got the new session ID with session_id() and attempted to update the row in the database via the new session ID but it didn't update, leading me to believe write() was not being called until *after* sess_regenerate() finished and therefore the row didn't exist yet to modify.

Any idea why this is happening?
Reply


Messages In This Thread
Encrypted session BLOB? - by mikeV - 12-09-2016, 01:38 AM
RE: Encrypted session BLOB? - by Narf - 12-09-2016, 04:07 AM
RE: Encrypted session BLOB? - by mikeV - 12-09-2016, 04:12 AM
RE: Encrypted session BLOB? - by mikeV - 12-09-2016, 05:52 AM
RE: Encrypted session BLOB? - by Narf - 12-09-2016, 09:32 AM
RE: Encrypted session BLOB? - by mikeV - 12-09-2016, 09:48 AM
RE: Encrypted session BLOB? - by Narf - 12-09-2016, 10:59 AM
RE: Encrypted session BLOB? - by twistedpixel - 01-31-2017, 10:23 AM
RE: Encrypted session BLOB? - by Narf - 01-31-2017, 11:44 AM
RE: Encrypted session BLOB? - by twistedpixel - 02-01-2017, 06:43 AM
RE: Encrypted session BLOB? - by twistedpixel - 02-01-2017, 11:16 AM
RE: Encrypted session BLOB? - by Narf - 02-01-2017, 11:23 AM
RE: Encrypted session BLOB? - by twistedpixel - 02-01-2017, 12:40 PM
RE: Encrypted session BLOB? - by Narf - 02-01-2017, 03:03 PM
RE: Encrypted session BLOB? - by twistedpixel - 02-01-2017, 04:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB