Ways of using $_SESSION in procedural PHP

I am still learning procedural PHP and I could use info on what are the most common usages / applications of $_SESSION sueprglobal in procedural PHP (the “old school” version of programming). Something like:

  1. loging system (I know that)

and so on. The more the better, if this would be a possible thing, and lets say the main focus could be like cms / tube / blog / forum / shopping cart script, the most common things.

Basically I have a feeling that I need to bite into $_SESSION and $_COOKIE and figure out the most common usages of this (as related to the most common types of scripts, and again procedural for now).

Thanks!

Answer: Anything the server needs to hold on to that the client doesn’t.

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.