I have a php page that store a session variable. One of the link is a .html page, with link back to some php pages. When I travel back to php page, would the session variable still be accessible?
Sorry if the answer to this would be obvious since I am not familiar with sessioning. Maybe the session is recorded in the server?
Yes, the session will persist. A session is a cookie value that is set once by the server that the client then sends back to the server on each new request. The client will send the cookie back to the HTML page as well, it just won’t do anything with it. The cookie and session both persist until they expire, regardless of what page the user visits in between.