PHP SID没有显示(PHP SID not showing)

编程入门 行业动态 更新时间:2024-10-25 16:21:13
PHP SID没有显示(PHP SID not showing)

我无法让我的SID工作...

<?php session_start(); // Or maybe pass along the session id, if needed echo '<br /><a href="page2.php?' . SID . '">page 2</a>';?>

不显示SID号码,但session_id正在工作,不知道我是否缺少一些东西。 THnks

I cannot get my SID working ...

<?php session_start(); // Or maybe pass along the session id, if needed echo '<br /><a href="page2.php?' . SID . '">page 2</a>';?>

does not show up SID number but session_id is working not sure if I am missing something. THnks

最满意答案

您需要启用session.use_trans_sid让PHP接受由GET或POST传递的会话ID。

You need to have session.use_trans_sid enabled to have PHP accept a session ID passed by either GET or POST.

更多推荐

本文发布于:2023-08-07 05:58:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1461580.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:PHP   SID   showing

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!