21307 Posts in 5737 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2208 Views |
-
Security/logout problem

29 January 2009 at 12:57pm
On a site we're currently working on, clicking Logout in the CMS (or going directly to /Security/logout) doesn't logout but instead just takes you to the CMS.
No core files have been changed, and it is happening in 2.2.3 and 2.3.0-rc2.
It's also not happening on another site operating off the exact same core 2.3.0-rc2 codebase (symlinked).
-
Re: Security/logout problem

29 January 2009 at 1:24pm
Weird. This rule is defined in /sapphire/_config.php:
Director::addRules(10, array(
'Security//$Action/$ID/$OtherID' => 'Security',
...Have you created any other rules in another _config.php that could be causing conflicts? Maybe try the SVN trunk version, that is definitely working fine.
-
Re: Security/logout problem

5 February 2009 at 4:29am
Try this (it resolved my problem in SS 2.2.3, nothing more core files changed):
/sapphire/security/Member.php
line 179 - add: HTTP::set_cache_age(0);/sapphire/security/MemberLoginForm.php
line 137 - add: HTTP::set_cache_age(0);/sapphire/security/Security.php
line 224 - add: HTTP::set_cache_age(0);Let me know if it is ok...
| 2208 Views | ||
|
Page:
1
|
Go to Top |



