Hi everyone. A few quick pointers if you have time...

I've created a session, easy enough:
<?php session_start(); ?>

I've created variables:
$_SESSION['UserID'] = UserID;
$_SESSION['Authorised']="yes";
$_SESSION['logname'] = $logname;

When a user clicks a link to a test page I created the following doesn't
work though:
echo $_SESSION["UserID"];

Do I need to use the (again):
<?php session_start(); ?>

??? Confused...!

Also - rather than list the session variables the way I am new line session,
new line session etc. is there a better way...?

-- 
-----------------------------
 Michael Mason
 Arras People
 www.arraspeople.co.uk
-----------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to