basically, I have a dynamic php page that loads content using ajax. The content that it loads is supposed to get stuff from a session variable, but it can't because I don't have a session_start()
. I do, its just that it's already processed when the actual page loads, and I can't add another session_start()
when the content loads. Is there another way?
Thanks
session_start()只是恢复现有会话,如果它正在进行中,所以你可以在AJAX处理程序中调用它。
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.