Timeline for PHP Session handling class
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 17, 2017 at 10:46 | history | edited | CommunityBot |
replaced http://security.stackexchange.com/ with https://security.stackexchange.com/
|
|
Sep 3, 2014 at 15:06 | vote | accept | Syntax Error | ||
Aug 26, 2014 at 11:56 | comment | added | Syntax Error | What do you think about session expiry functions? | |
Aug 26, 2014 at 11:51 | comment | added | tim |
Yes, but init_session() doesn't set $this->sessionID = session_id(); . sessionID isn't set anywhere, and thus get_session_id() will always return null.
|
|
Aug 26, 2014 at 11:49 | comment | added | Syntax Error |
This is only called in your commented out code. Does the user have to call it manually? No I've called init_session() in the constructor dude.
|
|
Aug 26, 2014 at 11:45 | comment | added | tim |
maybe remove_value ? You could also look at what other people have in their session classes. codeigniter for example has Flashdata . But I think that you can just leave it as it is and add functionality as it is needed.
|
|
Aug 26, 2014 at 11:37 | comment | added | Syntax Error | hey Tim thank you for pointing that our bro. I've fixed the code as per your suggestions. Can you suggest what more functions should I add in this class? Or what important functions am i missing. | |
Aug 26, 2014 at 11:18 | history | answered | tim | CC BY-SA 3.0 |