• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User ID missing in SESSION variable

(07-29-2019, 11:08 AM)dreamweaver Wrote: Hi,
in mySQL database I have the user as: id, image, forname, surname ... and so on but as you can see here, the id is missing.
I have no idea why this is happening, and it seems to be replaced with ci_last_regenerate. Which is no use to me, since I am just trying to link the user to which comment they have left.

Please help!

Array ( [__ci_last_regenerate] => 1564423055 [image] => x;fdjdas;dfj; [forename] => John [surname] => Doe [email] => [email protected] [address] => Address [city] => City [county] => County [country] => Country [post_code] => Post Code [access_level] => 1 ) Blog ID:2Message: Hello

I also tried to combine the library sessions and the user authentication system, in this topic they said that it is better not to do it, I don't know that reason, but I still try and I preshlos to alter some code (see attachment). Then I faced a small error in which after installation of a new session to the user he could not re-enter the site... and I finally scored on this problme and pereshol on the file system driver sessions. If You manage to fix the error please let me know, I will be happy to expect it.

Attached Files Thumbnail(s)
I would change this world, but God doesn't give me the source.

Messages In This Thread
RE: User ID missing in SESSION variable - by Digital_Wolf - 07-29-2019, 11:56 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.