I am using Scriptable web browser (simplebrowser) http://www.lastcraft.com/browser_documentation.php and it does not seem to have a way to:
- session_start();
- set the PHPSESSID value
- Browse to few pages using simplebrowser
- session_destroy();
so it might be possible to use php function开发者_JS百科s to setup and maintain a session using PHPSESSID
The session is started by the script that you request with simplebrowser. Lets assume you call example.com/script.php with simplebrowser. Then script.php contains session_start() and thus sends a cookie along with the response. You do not have to start and maintain a session for simplebrowser, let alone set the SID yourself.
精彩评论