You are here: Session Help Please « All PHP « IT news, forums, messages
Session Help Please

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация