You are here: Re: Making the action atribute of the FORM tag dynamic « HTML « IT news, forums, messages
Re: Making the action atribute of the FORM tag dynamic

Posted by Jonathan N. Little on 06/25/05 15:24

diablo wrote:
> Hi
>
> yes and if your using IIS then you may have issues doing it server side as
> well. in particular if you do sometig like this
>
> if request.form("submit")="Logo Press" then response.redirect logo_press.asp
> else response.redirect some_place_else.asp
>
>
> then the form post data is not passed on to the redirected page. i found
> some stuff to do with 307's...but it all adds to a pain in the ...
>
> D
> ps - i guess you could recreate and pop your form on the imbetween page
>
>
<snip>

I avoid IIS as much as possible, ;-) but I would suggest then to make
one common receiving script and fork depending on parameters. If there
is overlap, this method might be more efficient than two scripts.

Else on a redirect the receiving script would have to build a query
string to parse the form field values.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация