RE: Validation and session variables

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

 



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

> I think we need to know what happens when this
> function returns the user to
> the script upon finding an error. Are all the form
> field values passed back?

Doesn't seem that they are.  I tripped an error on
page1 , had an echo set for the first session
variable. The page popped back with my errors, but no
session variable.  But! maybe that is tied into what I
said towards the end of my last thread.

All page1 has is:
<input name="ListingName" type="text" id="ListingName"
maxlength="20" />

The session variable isn't posted until page2:
$_SESSION['f1a'] = $_POST['ListingName'];


> Does it do anything at all with the session? Does it
> pass the SID?

It's passing the SID yes.  SID number remains
consistent. I am not checking the /tmp file though. 
I'll assume at this point it's at 0kb
> 
> Are you saying that page1 always fails validation
> even if you enter all the
> form fields correctly? 

No not at all.  Validaton works fine. 

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