简体   繁体   中英

php session lost between pages

I have a script with session betwen few pages, every one has session_start() right after <?php no BOM.

Works great on my test server but on the production server I lost all session variables and their values, register_globals are off .

Furtermore in FF I lost session on 4th page and in Chrome in 2th page, any ideas?
Will gladly take all hints.

-- On IE works great

-- Looks like the session is there all the time only variabels die ( var_dump gives array(0) ). I did session_write_close() but with no result

检查session.save_path对于Web服务器是否可写。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM