Click to See Complete Forum and Search --> : problem passing variable thru ASP


eclipse88
07-13-2004, 04:42 PM
Hi..

I am trying to pass this variable to a new page:

/live/video_top.asp?Src=mms://media.vitalstream.com/10450_live_theplatform.asf?media=xxxxx&package=xxxxx&event=0

WHen the new page loads (video_top.asp), the last two parameters disappear (package and event) and this loads instead:

mms://media.vitalstream.com/10450_live_theplatform.asf?media=xxxxx

Any ideas why?

russell
07-13-2004, 05:24 PM
Try this

dim url
dim qs

url = "/live/video_top.asp?"
qs = Server.URLEncode("Src=mms://media.vitalstream.com/10450_live_theplatform.asf?media=xxxxx&package=xxxxx&event=0")

Response.Write "<a href=""" & url & qs & """>Link Text</a>"

eclipse88
07-13-2004, 06:33 PM
Thanks for the reply, but this isn't working.

Is there another way to tackle this?

eclipse88
07-13-2004, 06:53 PM
thanks for all your help... i figured out another way

sanjuT
07-14-2004, 11:02 AM
i have a similar prob, where the event is not appended to the URL:



if request.Form ("Attach") = "1" then
response.redirect ("uploadform.htm?Event=" & request.form ("EventID"))
else
response.redirect ("http://wegweb/markeventsconfirm.html")
End if


The EventID always equals 0, when it should be the number of the EventID.

How did u fix this?