开发者

How can i maintain a session using php PHPSESSID

开发者 https://www.devze.com 2023-01-28 09:59 出处:网络
I am using Scriptable web browser (simplebrowser) http://www.lastcraft.com/browser_documentation.php and it does not seem to have a way to:

I am using Scriptable web browser (simplebrowser) http://www.lastcraft.com/browser_documentation.php and it does not seem to have a way to:

  1. session_start();
  2. set the PHPSESSID value
  3. Browse to few pages using simplebrowser
  4. 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.

0

精彩评论

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