Sessions n Cookies problem
Posted: Mon Dec 13, 2010 2:51 am
I want to use session variables to import objects from one page to another. i have successfully done this doing the following file1: insert.php
file2: select.php
But when i disable cookies, it doesn't work at all...i am wondering how to do i fix this problem?
Code: Select all
<?
session_start();
$sam = "something";
$_SESSION['sam'] = $sam;
?>Code: Select all
<?
session_start();
$sam = $_SESSION['sam'];