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
I think you're missing some fundamental concepts of sessions here. You must think of the session as a file that you're going to include into the script (becuase.. that's litteraly what it is). But instead of using include() you're going to use session_start(); (refresh)"; ?> When you activate