Re: Validation and session variables

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

 



Okay, first, sorry, but what is top post? Writing
before the reply or after ?

Second, I'm not entirely sure where the
session_write_close() belongs, because here below,
isn't this a redirect? back to page2 if there are
validation errors:

  if ($WAFV_Errors != "")  {
    PostResult($WAFV_Redirect,$WAFV_Errors,"page2");


or is it solely in:

session_write_close()
if ($_SERVER["REQUEST_METHOD"] == "POST") {
 $url = "TestMulti3.php";
Header ('Location: http://www.mysite.com/page3.php);

Thank you ,
Stuart

--- Jason Wong <php-general@xxxxxxxxxxxx> wrote:

> On Wednesday 27 October 2004 11:31, Stuart
> Felenstein wrote:
> 
> Please do not top post.
> 
> > Yes I do have session_start on every page at the
> top.
> 
> As I have pointed out in a previous thread and Mike
> has pointed out in this 
> thread you MUST use
> 
>   session_write_close()
> 
> before you do a redirect.
> 
> -- 
> Jason Wong -> Gremlins Associates ->
> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet
> Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> Please come home with me ... I have Tylenol!!
> */
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
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