- iPhone (2)
- Learning (42)
- Linux (4)
- Debian (1)
- Mac Terminal / Linux (5)
- Other Stuff (1)
- Programming (66)
- Slim Framework (1)
- Uncategorized (4)
- WordPress (5)
We participate in the Amazon Service LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Now that I know how to enable sessions, and have a better understanding of how they work, the next thing to do will be to make use of the session in some way.
But first, here are a couple notes I found in my reading:
So what to do with sessions? Obviously they’re used to store persistent data across multiple page loads. What that data is is up to the programmer.
To add an element to the session superglobal, do something like this:
$_SESSION['myValue'] = 1
In the next part, I’ll look at what can happen when more than one request is trying to access the session file at the same time.