Welcome Guest, Not a member yet? Register   Sign In
session header error!!!
#3

[eluser]bang_dayat[/eluser]
[quote author="JanDoToDo" date="1268525996"]if you are using the native php sessions then you need to call session_start() to start the php session. If youve done that then cart variable doesnt exist and you should do

$cart = isset($_SESSION[‘cart’]) ? $_SESSION[‘cart’] : array();[/quote]

yeaa,..that's work,,..I have allready call session_start() in the parent::controller();
but how do you explain bout that code
Quote:$cart = isset($_SESSION[‘cart’]) ? $_SESSION[‘cart’] : array();
It's Really work!!how the way it can work like that??
Thanx,...


Messages In This Thread
session header error!!! - by El Forum - 03-13-2010, 11:54 AM
session header error!!! - by El Forum - 03-13-2010, 12:19 PM
session header error!!! - by El Forum - 03-13-2010, 12:53 PM
session header error!!! - by El Forum - 03-13-2010, 01:00 PM
session header error!!! - by El Forum - 03-13-2010, 01:23 PM
session header error!!! - by El Forum - 03-13-2010, 02:08 PM
session header error!!! - by El Forum - 03-13-2010, 02:41 PM
session header error!!! - by El Forum - 03-13-2010, 02:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB