Hi L,
> can anyone help me how to post a meeting event
> to two separate pages?
> ...
> Form > addmeeting.asp
> posted > employer/meetingschedule.asp
> posted > career/meetingschedule.asp
This type of thing would be ideal for XML on the server. A form can
only post to a single location - but that location can do anything it
wants to with the data. For example, post to /meetingschedule.asp and
in that use the following code:
'// ========================================================
<%
Response.Buffer = True
Dim oXml1, oXml2
'[Form 1]
' post the data
Set oXml1 = Server.CreateObject("Microsoft.XMLHTTP")
oXml1.Open "POST", "/employer/meetingschedule.asp", False
oXml1.Send Request.Form()
' return
Response.Write oXml1.responseText
Set oXml1 = Nothing
'[Form 2]
' post the data
Set oXml2 = Server.CreateObject("Microsoft.XMLHTTP")
oXml2.Open "POST", "/career/meetingschedule.asp", False
oXml2.Send Request.Form()
' return
Response.Write oXml2.responseText
Set oXml2 = Nothing
%>
'// ========================================================
This will enable you to post to two different locations from the
initial location. BUT, of course, why not just write it to do
everything from the first page in the first place, instead of
involving unreliable http traffic to hit it's own server?
Another option, assuming that you're running W2K+ and it's on the same
server & domain - use:
Server.Execute ("/page1.asp")
Server.Execute ("/page2.asp")
...to have the same effect without the round trip.
Regards,
Shawn K. Hall
http://ReliableAnswers.com/
---
[This E-mail scanned for viruses by Declude Virus]