RE: Session and validation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Graham Cossey <graham@xxxxxxxxxxxxxxx> wrote:

> So, if this is the result of a form submission how
> are you getting the POST 
> variables?
> How/where is $industry being set? I appears that you
> are assuming that
> variables are 'maintained' within a script, they are
> not. You have to
> remember that although you are running the same
> script it is not the same
> 'instance' of the script as a request/response has
> occurred. You MUST pass
> and retrieve SESSION/POST/GET variables if you
> intend to use them in your
> script.
> 
Yes, I see your point about the instance changing. I
made the change and set session = post prior to the
redirect and it's working proper.

Now, I will need to go back and try my other scripts
to see if this holds up in them.  I thought I already
tried , but a fresh start may help.

Stuart

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux