Jump to content

Login Page Cookies


mooseychops

Recommended Posts

Hi Guys,

 

Having a bit of a security problem with my login page which is driving me nuts.

It looks like that users can bypass my login page and access other pages by simply navigating to them or keeping the url in thier favourites..!!

 

what is the best way to tackle this problem?

 

I have had a quick look and saw that there might be a way to do something with cookies to assign a cookie ID to each user who logs in to the system..

 

any ideas or hints towards putting me on the right track would be very much appreciated.

 

thanks!

Link to comment
https://forums.phpfreaks.com/topic/264950-login-page-cookies/
Share on other sites

Each protected page must have php code on it to check if the current visitor can access that page.

 

How does your login code 'remember' who the current visitor is after he/she has authenticated themselves and what's your code on each page to check and limit access to protected pages?

Link to comment
https://forums.phpfreaks.com/topic/264950-login-page-cookies/#findComment-1357745
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.