Jump to content

COOKIES for the entire site?


chmpdog

Recommended Posts

Hi,

 

Right now I am storing both the password and username in cookies. The cookies are created when the user logs in on the main directory.  But when the user goes to a different directory, such as root.com/folder, the cookies dont work. Well they work, but it creates a new cookie, so no one can log out.

 

Is there a way to make the cookies work for all the subdirectories?

 

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/107473-cookies-for-the-entire-site/
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.