Posted by Peter Wilson on 09/25/05 02:36
Hi
I am trying to change a value in a session variable and have tried lots
of combinations and although the actual variable it self changes cannot
get the session to change??
Here is what I have end up with so far and still seems to show session
as y and variable as n??
on one page
<?php session_start();
$prerelase ='y';
session_register(prerelase);
?>
on the next page
<?php
session_start();
session_unregister($_SESSION['prerelase']);
unset($prerelase);
session_unregister($prerelase);
$prerelase ='n';
session_register ('prerelase');
echo $prerelase;
echo $HTTP_SESSION_VARS['prerelase'];?>
Many thanks for your help
Peter
Motto "A smile aday keeps the blues away"
http://www.sci-comm.clara.net/
Navigation:
[Reply to this message]
|