Welcome Guest, Not a member yet? Register   Sign In
Cookie vs Session? Did I got wrong?
#1

Hi,
I read that I could implement the "remember me" functionality using CI built-in Session Library, instead of using cookies. Is that true? If yes, is there any tutorial where I can find that?
Cheers.
Reply
#2

session and cookie all can use in ci4
Reply
#3

(08-24-2021, 12:17 AM)wuuyun Wrote: session and cookie all can use in ci4

I need to work with ci3 for now. Is there a secure way of doing a "remember me" login using session?
Reply
#4

Before you continue please read this article.
Implementing Secure User Authentication in PHP Applications with Long-Term Persistence (Login with "Remember Me" Cookies)

And here is one way of doing it.
Secure Remember Me for Login using PHP Session and Cookies
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB