| [reply] [d/l] [select] |
Alright, you can check if you're running as a CGI - check $ENV{GATEWAY_INTERFACE} - if it is "CGI/1.1" you're running as a CGI, if it's "CGI-Perl/1.1" you're running under mod_perl.
$q->delete_all should remove all values from that query object, so any values that are in it after that, are put in there by you. More likely is that you create a new CGI object after that, which will again be initialized with the posted values.
If you are running mod_perl and you are storing values in variables, it's possible that they will keep their value. They CGI object itself should not do that, unless you're not creating a new object for each request.
How do you know that the values are the same as the previous request? Ie: how do you show them?
Please show some code.
| [reply] |
| [reply] [d/l] [select] |
1.. Find out what environment you are in, if it is a shared server then it is unlikely you are using mod_perl. To test what you have - telnet to the server on port 80, then issue the command:
HEAD / HTTP/1.0
The server will respond telling you what the Apache was compiled with.
How do you know it is from a previous invocation? It could be the 'password manager' in the browser. Try two invocations from totally separate browsers (on the same machine and then on different machines).
If that doesn't clear the problem - show us some code - as somebody asked for earlier. We are good, be we aren't phsycic.
jdtoronto
| [reply] |