Page 1 of 1

What is the code for getting the logged in user?

Posted: Fri Jul 22, 2022 9:23 pm
by cobber
Tried looking but can't seem to find anything.

I'm looking for some php to grab the current user logged in .
I know I can use a session variable that appears to work as far as I can see.

Code: Select all

$_SESSION["s_username"]
Just wondered if there was a preferred Bludit way


Many thanks