post variable

Diez B. Roggisch deets at nospam.web.de
Mon Jan 28 13:48:04 EST 2008


pavloutefkros at gmail.com schrieb:
> sorry for creating a new post but this is totally different from the
> previous one.
> 
> Here is the problem (which is very hard to explain, so i will use a
> paradigm): i submit a form and the post variable is being sent to the
> page test.py. then the test.py retrieves the POST and print it to the
> page. now everything is great except one thing.
> 
> lets say i submitted the form and went to test.py and the output was
> correct, then, while i'm on test.py if i reload the page, the POST
> variable IS STILL THERE.
> 
> so the output is always the POST retrieven at first. So the page keeps
> on printing the POST variable retrieven at first even thought i might
> have reloaded the page 1000 times. Is there any way to "empty" the
> POST variable, so that at reload nothing would be the same?
> 
> ps: so many "so" and wacky explanation, noone would understand :(.

If you are reloading a page, the variables that were sent to it are 
re-send by the browser. I fail to see where the problem is. Reloading 
means reloading.

Diez



More information about the Python-list mailing list