I do an AJAX call to login my TYPO3 Users. Everything doing well. I also write some session values. After successfull login i have this session:
array(10) {
["loggedin"]=>
int(1)
["user"]=>
string(15) "Thomas Helmrich"
["kdnr"]=>
string(3) "N/A"
["email"]=>
string(15) "Thomas Helmrich"
["bereich"]=>
string(3) "all"
["name"]=>
string(0) ""
["intern"]=>
int(1)
["nickid"]=>
string(4) "4734"
["chatadmin"]=>
int(1)
["spezialforum"]=>
int(0)
}
but after the redirect like e.g.
header("Status: 301 Moved Permanently");
header("Location:".$redirect_url);
exit();
The Values are null
array(14) {
["loggedin"]=>
NULL
["user"]=>
NULL
["password"]=>
NULL
["kdnr"]=>
NULL
["email"]=>
NULL
["bereich"]=>
NULL
["name"]=>
NULL
["chatadmin"]=>
NULL
}
I currently don´t know why the values get null´d
Thanks