开发者

get browser session in mysql

How can i get browser session in mysql. Any idea thanks 开发者_如何转开发in advance.


You can't get the session information via MySQL as it is only a database and not handling any HTTP stuff.

Fetch the information you need via PHP and then store it from there in MySQL.

http://php.net/manual/en/function.session-id.php


The location of your browser session depends on the framework you use and also on the fact whether you use the db to store your session. Which framework do you use?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜