chmpdog Posted May 27, 2008 Share Posted May 27, 2008 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 Quote Link to comment Share on other sites More sharing options...
revraz Posted May 27, 2008 Share Posted May 27, 2008 Post your setcookie code. You basically just need to use "/" in it. Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted May 27, 2008 Share Posted May 27, 2008 Right now I am storing both the password and username in cookies. Alarm bells are ringing' date=' Willy.[/quote'] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.