cannot login anymore after change cookie path setting
Posted: 17 May 2008 03:25 AM   [ Ignore ]  
Grad Student
Rank
Total Posts:  96
Joined  02-19-2007

I was having troubles working with cookies and I tried changing the cookie system setting in EE. Now I’m unable to login to the control panel, I get no error or nothing, just the login screen after logging in.

Any way to solve this?


To be exact, I changed the following settings:
http://expressionengine.com/docs/cp/admin/system_preferences/cookie_settings.html

maybe if I knew where these settings were stored in a table or config file, I could manually adjust them again?

Profile
 
 
Posted: 17 May 2008 04:59 AM   [ Ignore ]   [ # 1 ]  
Grad Student
Rank
Total Posts:  96
Joined  02-19-2007

I solved it by adding this line to the config.php file

-> $conf[‘admin_session_type’] = “s”;

after that, I could login again and I was able to change the cookie settings back to nothing, and it works like a charm… pfieew

problem solved.

Profile
 
 
Posted: 18 May 2008 07:05 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23536
Joined  05-20-2002

Generally, you won’t have anything in the cookie settings aside from a cookie domain- which is generally a good idea and follows the format .mysite.com- note the leading dot.  That setting insures that when you login with www.mysite.com you’ll also be logged in when viewed sans www.

In case you’re wondering what’s up with it all!  If all’s well, I’ll go ahead and close this out.  But if you still think the cookie settings may need tweaking, let me know.  So- shall I close out, or poke it a bit more?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 18 May 2008 07:09 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Rank
Total Posts:  96
Joined  02-19-2007

thanks for clearing that out Robin. No go ahead and close this thread, my problem has been solved wink

Profile
 
 
Posted: 18 May 2008 08:02 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23536
Joined  05-20-2002

Glad you’re squared away- closing this one out.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64978 Total Logged-in Users: 28
Total Topics: 82018 Total Anonymous Users: 16
Total Replies: 440827 Total Guests: 179
Total Posts: 522845    
Members ( View Memberlist )