RE: [PHP] How to clear variables?

2002-03-21 Thread C. Cormier - Ormetal Inc.
Thanks Martin. I will try that. Claude Cormier Ormetal Inc. http://www.goldcurrencies.ca http://www.ormetal.com = Claude Cormier Public Key http://www.ormetal.com/keys/ClaudeCormier.asc = -- PHP General Mai

RE: [PHP] How to clear variables?

2002-03-21 Thread Martin Towell
ECTED] Subject: Re: [PHP] How to clear variables? On 21 Mar 2002, at 8:33, Rasmus Lerdorf wrote: > Well, you could prevent the user from cacheing the page by sending the > appropriate cache control headers. Then when they click back it would > say that the page is expired. Hello Rasmus,

Re: [PHP] How to clear variables?

2002-03-21 Thread C. Cormier - Ormetal Inc.
On 21 Mar 2002, at 8:33, Rasmus Lerdorf wrote: > Well, you could prevent the user from cacheing the page by sending the > appropriate cache control headers. Then when they click back it would > say that the page is expired. Hello Rasmus, I tried what you suggest with: session_cache_limiter('n

Re: [PHP] How to clear variables?

2002-03-21 Thread Rasmus Lerdorf
> On 21 Mar 2002, at 8:03, Rasmus Lerdorf wrote: > > > This Faction variable comes from the browser. > > Thanks for answering Rasmus. > > But is it possible to clear this variable. Is this what is called a > global variable? If not, does this means that the scope of POST > variables is as long as

Re: [PHP] How to clear variables?

2002-03-21 Thread C. Cormier - Ormetal Inc.
Thanks for your help. > Well, you could prevent the user from cacheing the page by sending the > appropriate cache control headers. Then when they click back it would > say that the page is expired. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] How to clear variables?

2002-03-21 Thread C. Cormier - Ormetal Inc.
On 21 Mar 2002, at 8:03, Rasmus Lerdorf wrote: > This Faction variable comes from the browser. Thanks for answering Rasmus. But is it possible to clear this variable. Is this what is called a global variable? If not, does this means that the scope of POST variables is as long as the life of t

Re: [PHP] How to clear variables?

2002-03-21 Thread Rasmus Lerdorf
> The above speudo script work fine and when the user click 'Add to > Data', the data is added to my database. Howver, the > session_unregister and session_destroy do not clear the variable > Faction and its value. Therefore if the user click Reload on the > browser, the data gets added again. >