Welcome Guest, Not a member yet? Register   Sign In
session nightmare
#8

[eluser]einstein[/eluser]
The session should be started befor any code, if not you get an header error like in your case.
Remember is called MVC (Model View Controller) but your controller is loaded befor your view, so you allready have some code in form of variables in your page (controller) and when you try session_start from your view you get the headers error.

Anyway i am not 100% sure about this but i could say 95%.

Thank you


Messages In This Thread
session nightmare - by El Forum - 04-25-2008, 06:49 PM
session nightmare - by El Forum - 04-26-2008, 02:07 AM
session nightmare - by El Forum - 04-26-2008, 12:29 PM
session nightmare - by El Forum - 04-26-2008, 12:59 PM
session nightmare - by El Forum - 04-26-2008, 01:09 PM
session nightmare - by El Forum - 04-26-2008, 08:29 PM
session nightmare - by El Forum - 08-19-2008, 02:45 PM
session nightmare - by El Forum - 08-20-2008, 06:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB