Re: IE/ IIS / PHP - Form posted twice in case of redirection

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

 



I just verified that the form is infact posted twice (by IE) by using session variable.

When form is posted I set a session variable after doing the import and at start of the same import script I check if the form has been already posted from session variable and if the form has already been posted just return to some other page which unsets that session variable.

But still I want to find the cause of the problem.


  ----- Original Message ----- 
  From: Dan Shirah 
  To: Sukhwinder Singh 
  Cc: php-windows@xxxxxxxxxxxxx 
  Sent: Thursday, June 26, 2008 1:31 AM
  Subject: Re:  IE/ IIS / PHP - Form posted twice in case of redirection


  Are you sure it's not something in your code?

  I am also using IE/IIS/PHP and I have a form that on submission closes the page and opens up a new window displaying "Your data has been saved" and it does not create 2 rows in my MSSQL database.

  Dan

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux