|  | Posted by diablo on 06/25/05 10:54 
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
 
 
 "Jonathan N. Little" <lws4art@centralva.net> wrote in message
 news:bRfue.872$S17.134681@monger.newsread.com...
 > JDS wrote:
 > <snip code>
 > >>
 > >>I need this so that under a certain condition, while clicking the logo,
 > >>the action is done to another address. Can the action attribute look
 like
 > >>this ' <FORM action=X method="get">' and that the X variable is set
 > >>somewhere else?
 > >>
 > >>Regards
 > >
 > >
 > > Isn't it funny how very similar questions often seem to get asked in
 > > groups? (See slightly earlier thread posted by "diablo")
 > >
 > > In any case...
 > >
 > > The answer to your question is "yes, but..."
 > >
 > > yes, but you will have to use some sort of server-side scripting to do
 it.
 > > ASP, PHP, ColdFusion, or similar. I am fairly certain that there is no
 > > client-side solution for this problem.
 > >
 > > later...
 > >
 > Yes, you can trap and change the form's action on submit with
 > JavaScript, BUT if the client has JavaScript disabled (an ever
 > increasing situation) this will fail. Server-side is only way to be
 > certain of success.
 >
 > --
 > Take care,
 >
 > Jonathan
 > -------------------
 > LITTLE WORKS STUDIO
 > http://www.LittleWorksStudio.com
  Navigation: [Reply to this message] |