Welcome Guest, Not a member yet? Register   Sign In
Problem with session data and redirect after disabling error_reporting()
#1

[eluser]Hrag[/eluser]
Hellos,

So I set error_reporting(0) in my index.php since I switched my site to production. I do a redirect after a Twitter auth and right before the redirect, I store some data to the session (which lives on the DB). Now with the error reporting set to E_ALL, the redirect works fine - but when it's set to 0, the session data isn't carrying on to the redirected page.

Anyone ever heard of this happening? Kind of throwing me off here. I have a band-aid on it for now (echoing a JS redirect).

Thanks in advance!




Theme © iAndrew 2016 - Forum software by © MyBB