|
Posted by crescent_au on 12/20/06 14:11
Hi all,
I'm having a problem with sessions with my shopping cart. It works fine
in my local server at home and office but after uploading the code in
the remote server, the cart contents (session) are no passed to the
cart from products page. At home and office, i am using xampp. The
remote server is using Linux and probably apache.
in my cart.php file, i did this: <?php echo "ID = " . session_id() .
"<br />"; ?> to check if the session id is passed and it shows up but
when I do print_r($_SESSION['cart']['cart_contents']), it contains
nothing. I repeat this same code is working fine at home and office
under xampp. So i am thinking it is something to do with the remote
server. Is there anything i could do in php.ini in the remote server to
get this work? I think there is nothing wrong with my code as it works
under xampp.
Please help!
Ben
Navigation:
[Reply to this message]
|