更新时间:2022-05-24 21:17:01
您基本上可以实现像您这样的会话.
You could basically implement something session like yourself.
这将包括以下任务:
但是应该提到的是,基于cookie的解决方案从来没有那么好.例如,如果一个客户端没有启用cookie,那么它将根本无法使用.一个可能的解决方案是,如果未启用cookie,则将会话ID作为GET参数与每个内部链接一起发送.
However it should be mentioned that a cookie only based solution is never that good. If a client for example doesn't have cookies enabled it won't work at all. A possible solution for this is to send the session id as GET parameter with every internal link if cookies are not enabled.