21278 Posts in 5728 Topics by 2599 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 252 Views |
-
Silverstripe and Cookies

9 November 2011 at 9:18pm
Hi all,
In the PHP doco, it states that once a cookie is set, it can only be retrieved after the page/browser reloads.
(Source: http://php.net/manual/en/function.setcookie.php)Are cookies in SS the same? ie. If I set one say in a controller, and the page loads, will it take a reload for the cookie data to be retrieved?
Please advise - I am a complete & total noob to SS.
Regards
WoolyG -
Re: Silverstripe and Cookies

10 November 2011 at 8:55pm
Test it and see what happens! If that's what setcookie() requires then it's likely it will be the same as SilverStripe. Cookie in SilverStripe is simply a basic wrapper around setcookie
| 252 Views | ||
|
Page:
1
|
Go to Top |


