RE: [PHP] Refreshing session variables

2002-07-18 Thread John Holmes
> $x = mt_rand (1000,1); > $y = mt_rand (1000,1); > > $text = $x.$y; > $secretstring =$x.$y; > > session_start(); > if(session_is_registered("secretstring")){ > session_unregister("secretstring"); > } > session_register("secretstring"); What good do you think this does? There is no 'el

Re: [PHP] Refreshing session variables

2002-07-18 Thread Kevin Stone
in - Original Message - From: "N. Pari Purna Chand" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 18, 2002 3:36 PM Subject: [PHP] Refreshing session variables > Hi guys, > > I got a problem with refreshing session variables. > When the

[PHP] Refreshing session variables

2002-07-18 Thread N. Pari Purna Chand
Hi guys, I got a problem with refreshing session variables. When the following code is run , for the first time both $z and $secretstring are showing same values. But when page is refreshed, the $secretstring variable is still having the old value no matter how many times I click refresh. Am I