1

I started learning to build a website, and I am building a log memory function (Remember me).

How to have the log remember function without using cookies ? I'm afraid of its security even when it's password-encrypted. I have found my password and login name from cookies!.

Facebook does not need cookies to save accounts, can we do like them?

Can you help me? Thanks!

1 Answers1

0

If your server is single machine and you don't have to share data between instances, you can save user that are logged in in a dictionary, and save user by userid or IP.

Ygalbel
  • 5,214
  • 1
  • 24
  • 32