Re: Session_id(); are changing between the pages.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hadi wrote:

> session_id(); not passing the same id number to the second page in result
> session file are created empty. Browser like IE and Chrome are not able to
> pick up session variable.

You should have a look at the HTTP headers, and check whether the
cookies are transferred to the browser (Set-Cookie) and whether they are
transferred back to the server (Cookie).

If the cookies are not transferred to the browser, have a look at your
error logs (assuming you have set error_reporting to an appropriate
value, what you should have on your developement machine anyway).  There
may be something like "cannot sent headers; headers already sent".

-- 
Christoph M. Becker


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux