0

I am currently working on "remember me" function for login system.

I will store the user's ip, browser, session id and token in database once the user has successfully logged in. If i do stored them in database, i will need to requesting them from database and authenticate them for every single page.

The main question is, if i request them for every single page, does it will slow down my site?

Kingsley
  • 404
  • 6
  • 15
  • Yes, the short answer, it will slow down. If you need any more detailed answer, I think you should give details of language/platform in the question. – Milind Thakkar Oct 09 '12 at 12:07

1 Answers1

0

Authentication of user for every page request definitely slowdown the performance of the system.

best way of user authentication in php refer

Community
  • 1
  • 1
solaimuruganv
  • 27,177
  • 1
  • 18
  • 23