简体   繁体   中英

Codeigniter change session id

I have a problem. On my website, users can log in and do some orders. But I wanna change my session_id after succesful order, but without logout. There is a problem when I change session_id, users are automatically log out. I am using framework codeigniter. How can I change it? Thank you for replies

use the php function

session_regenerate_id();

check the about link

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