Just a quick question...S_SESSION['variablename'] only works on php files within the same folder?

Recommended Answers

All 2 Replies

The session works for your entire domain. So if you have a root folder and sub-folders, your session will work as a global. The session is tied to the UID for each visitor.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.