I have a login using sessions. Is there a way to create a new session variable (add it to the existing session) when I click on a link?
我有一个登录的会话,是否有办法在用户点击链接时生成一个会话变量?
解决办法
if (isset($_GET['show'])) { $_SESSION['show'] = $_GET['show']; }
|
阅读(1404) | 评论(0) | 转发(0) |