Bit of an odd question, but I’m using sessions a lot in a project.
If I’m using them repeatedly in one page is it better to read them in to a variable once and then use the variable or does it make no difference to be constantly referencing $_SESSION['name'] in the same page?
Nope.
it does make no difference.
$_SESSION[‘name’] is already a variable, you know.