Welcome Guest, Not a member yet? Register   Sign In
Database and session library ?
#2

(07-24-2019, 10:00 AM)Digital_Wolf Wrote: Hello all !

I'm trying to make an authorization system and I would like to combine in my database the table that the session library uses and the one that I created for the rest of the user information.

The fact is that my table also uses "time() functions that generate exactly the same timestamp as when creating sessions, but the documentation says that I should use such fields as "ip_address", "id" and so on...


Q: Where can I change these field names to avoid future errors ?

I found all this data in the file "System\Session\DatabaseHandler.php"
and I want to be sure that these are exactly all the values that the session library uses,
also I want to make sure that it gets into every field of the database:

1)
Code:
`id` varchar(128)
- this session id is exactly the same if it was recorded in the file name, using $sessionDriver = ***FileHandler.

2)
Code:
`ip_address` varchar(45)
- Well, it is clear that the user's ip.

3)
Code:
`timestamp` int(10)
- I assume this is the timestamp when was the session created.

4)
Code:
`data` blob
- ??? when was the last time there was a "regeneration" session ???

P.S.: Correct me if I'm wrong about something !
I would change this world, but God doesn't give me the source.
Reply


Messages In This Thread
Database and session library ? - by Digital_Wolf - 07-24-2019, 10:00 AM
RE: Database and session library ? - by Digital_Wolf - 07-24-2019, 10:35 AM
RE: Database and session library ? - by InsiteFX - 07-25-2019, 04:25 AM
RE: Database and session library ? - by kilishan - 07-25-2019, 02:00 PM
RE: Database and session library ? - by kilishan - 07-26-2019, 06:22 AM
RE: Database and session library ? - by Navindex - 10-30-2019, 10:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB