简体   繁体   中英

Cross-Browser PHP Sessions

As I have a website with a multi step process (filling in different forms) I would like to now if using PHP Sessions is the best way to identify the user when switching from page to page. What is the best practice to do that? What if browser cookies are not available?

Sessions would be the 'standard' approach. Sessions are not cookies, you can still use sessions even if cookie are not available, but that's quite uncommon now.

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