21489 Posts in 5783 Topics by 2622 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 337 Views |
-
best way to check session

2 July 2011 at 12:40am
What would be the 'approved SilverStripe way' to check if session cookies are enabled? Is there a value that should always be present, or should I just set one myself (not I hope)?
For instance I want the securityToken to be enabled on contactforms. If there's no session I want to show some sort of message to enable cookies, instead of just showing the form and getting the 'possible CSRF attack' message on submission...
| 337 Views | ||
|
Page:
1
|
Go to Top |
