|
Posted by Janwillem Borleffs on 03/12/06 23:28
nescio wrote:
> when peole reload the page it adds one up because it executes the
> $_GET variable.
> so, when people got one time item A, and they reload the page, they
> got two times item A.
> but i want them stil to have one time item A after reloading the page.
>
> how can i do this?
>
The easiest solution would be to get rid of the query string by performing a
header("Location: {$_SERVER['PHP_SELF']}"), followed by an exit() after you
have updated the session.
JW
Navigation:
[Reply to this message]
|