Tools, FAQ, Tutorials:
What Is a Session ID in PHP
What Is a Session ID in PHP?
✍: FYIcenter.com
A session ID is an identification string of a session. Since there might be multiple visitors coming to your Web site at the same time, the PHP engine needs to maintain multiple sessions concurrently. Session IDs are created and maintained by the PHP engine to identify sessions.
When a visitor comes to your Web site requesting the first PHP page for the first time, the PHP engine will create a new session and assign a unique session ID to this new session. The first PHP page can set some values to the session. When the same visitor clicks a hyper link requesting the second PHP page, the PHP engine will use the same session ID to find the same session created for the first page and give it to the second page. No new session will be created for the second page.
⇒ Retrieving Session ID from the Current Session in PHP
⇐ Retrieving Values Stored in Session in PHP
2016-10-26, 1543👍, 0💬
Popular Posts:
How To Open Standard Output as a File Handle in PHP? If you want to open the standard output as a fi...
What is Azure API Management Developer Portal? Azure API Management Developer Portal is an Azure Web...
Can You Specify the "new line" Character in Single-Quoted Strings? You can not specify the "new line...
Where to see some Examples of Invalid JSON Values? Here are some Examples of Invalid JSON Values: 1....
How to use "{{...}}" Liquid Codes in "set-body" Policy Statement? The "{{...}}" Liquid Codes in "set...