• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.