Jump to content

php sessions


acidglitter

Recommended Posts

Hmmm lets say you registered the session as...

$_SESSION['username']

 

All you need to do is on another php file use the following code...

session_start();
$username= $_SESSION['username'];

 

of course you would need security eg. to check if they are logged in.

Link to comment
https://forums.phpfreaks.com/topic/95707-php-sessions/#findComment-490024
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.