Session Tempdata vs Cookie for "Remember me" login (CI3) |
Hi guys! Just wanna ask if it is good to use Session Tempdata to store the userdata upon login when they wanted to remember by the system. I am using cookie for the whole time since it is recommended by so many developers.
Well, basically, the procedure was to store the userdata in cookie and must set the expiration time (e.g 30days). CI 3 had introduce its new feature to set the session as "Tempdata" with a specific expiration time. Same concept with the cookie I think. Is it recommended as it is or is it a good practice? What do you think guys?
[Just a programmer] [/Just a programmer]
|
Messages In This Thread |
Session Tempdata vs Cookie for "Remember me" login (CI3) - by Joel Catantan - 09-04-2016, 06:14 PM
RE: Session Tempdata vs Cookie for "Remember me" login (CI3) - by ivantcholakov - 09-04-2016, 08:23 PM
RE: Session Tempdata vs Cookie for "Remember me" login (CI3) - by InsiteFX - 09-05-2016, 04:34 AM
RE: Session Tempdata vs Cookie for "Remember me" login (CI3) - by Joel Catantan - 09-05-2016, 05:50 PM
RE: Session Tempdata vs Cookie for "Remember me" login (CI3) - by mwhitney - 09-16-2016, 01:39 PM
RE: Session Tempdata vs Cookie for "Remember me" login (CI3) - by ivantcholakov - 09-05-2016, 09:22 AM
|