Welcome Guest, Not a member yet? Register   Sign In
Session getting destroyed
#1

[eluser]joe.afusco[/eluser]
So, I'm curious if someone else has run into this. I've got 3 controllers, and one controller uses a query string, which I had to enable in the config. Whenever I refresh my other two controllers (ones that don't use query strings), the session variables are fine, and stay the same, as expected. However, when I load the page that uses a query string, it creates a new session for the user. I was previously POSTing to the controller, and there was no issue with the session variables. It was only when I switched to using a query string on this controller that this starting occuring. It also only happens after more than one load on that controller. First time the controller is run, it keeps the current session, no problems.

Any reason why it would do this? The only part of the code that I've altered (outside of the config) is accessing the variable via $_POST, to :

parse_str($_SERVER['REQUEST_URI'], $_GET);

Pretty frustrating that the session keeps dropping


Messages In This Thread
Session getting destroyed - by El Forum - 11-18-2012, 05:11 PM
Session getting destroyed - by El Forum - 11-28-2012, 02:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB