ninevolt Posted October 8, 2009 Share Posted October 8, 2009 I have websites where the cookie worked for both the domain and subdomain like the following up until today when people would log in. mainforum.com profiles.mainforum.com The cookie setting in the forum software only is checking .mainforum.com so that is not the issue (it was previously working) Then we recompiled PHP to add curl and imap now all of a sudden no one can get logged in to profiles, keep in mind; it was working before we recompiled and we have changed nothing aside from recompiling php Does anyone know what could cause this? Quote Link to comment https://forums.phpfreaks.com/topic/176976-subdomain-cookie-setting/ Share on other sites More sharing options...
corbin Posted October 8, 2009 Share Posted October 8, 2009 The default cookie path could've gotten changed. Try passing the path as an argument to set_cookie and you might also need to find the command that controls how session cookies are set and use that. Quote Link to comment https://forums.phpfreaks.com/topic/176976-subdomain-cookie-setting/#findComment-933368 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.