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?
精彩评论