DanUK
11-22-2003, 02:00 PM
Hello there.
Is it possible to have sessionid attached to all pages loaded? All my href's attach the sessionid, but say if 'staff.php' is loaded directly, is tehre a way to get the sid attached? What would I need to add?
On my header.php I started the session via:
<?php
session_start();
if (eregi("header.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
$header = 1;
?>
this is obviously loaded by all pages as header.php is included.
Thanks if you can help.
Is it possible to have sessionid attached to all pages loaded? All my href's attach the sessionid, but say if 'staff.php' is loaded directly, is tehre a way to get the sid attached? What would I need to add?
On my header.php I started the session via:
<?php
session_start();
if (eregi("header.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
$header = 1;
?>
this is obviously loaded by all pages as header.php is included.
Thanks if you can help.