Question
Session variables - what's up?
I have a page with this markup -
<?php
session_start();
$_SESSION['usertype'] = 2;
header("Location: s_support-repair-parts.php");
exit();
?>
The page redirects to a new page containing this markup -
<?php session_start(); ?>
...
<?php
echo "User is type: " . $_SESSION['usertype'];
...
?>
I never see a value echoed - what's up with that?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
<?php
session_start();
$_SESSION['usertype'] = 2;
header("Location: s_support-repair-parts.php");
exit();
?>
The page redirects to a new page containing this markup -
<?php session_start(); ?>
...
<?php
echo "User is type: " . $_SESSION['usertype'];
...
?>
I never see a value echoed - what's up with that?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
