21487 Posts in 5783 Topics by 2621 members
General Questions
SilverStripe Forums » General Questions » Notice: Undefined variable: _SESSION in when trying to acces session in _config.php
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 249 Views |
-
Notice: Undefined variable: _SESSION in when trying to acces session in _config.php

20 September 2012 at 7:01pm Last edited: 20 September 2012 7:02pm
Hi I try to access a session variable in my _config.php getting the error
Notice: Undefined variable: _SESSION in .../silverstripe/mysite/_config.php on line 66Using Session::get('Language') is not working either.
I'm getting no error but the value for the variable is empty even though the value is set.
which I tested with a function in my page_controller which outputs the correct value.Version is 2.4.7
An ideas?
Thanks in advance
Lukin
| 249 Views | ||
|
Page:
1
|
Go to Top |

