P
Paul
I'm not getting the results I want when I use
Response.Redirct in a ASP page.
I enter this line of code in a asp page from domain1.com.
Response.Redirect "http://www.domain2.com/VDIR2/table.asp"
& "?PubID=" & PubID & "&PubName=" & PubName
The query string is data to open a DB. the page displays
but the DB does not open.
That's because when it redirects I notice in the address
bar of IE that it looks like this
http://www.domain1.com/VDIR1/table.asp?
PubID=100&PubName=thename
I told it to redirect to domain2 but I see domain1 in the
address bar.
If I type out the URL to domain2 with all the params
everything works fine, so the problem is with how I am
redirecting there.
The redirect above is inside an IF statement which says if
the PubID is less then 100 I go to the table.asp page on
domain2.com else I stay with table.asp on domain1.com
Any ideas
PAul
Response.Redirct in a ASP page.
I enter this line of code in a asp page from domain1.com.
Response.Redirect "http://www.domain2.com/VDIR2/table.asp"
& "?PubID=" & PubID & "&PubName=" & PubName
The query string is data to open a DB. the page displays
but the DB does not open.
That's because when it redirects I notice in the address
bar of IE that it looks like this
http://www.domain1.com/VDIR1/table.asp?
PubID=100&PubName=thename
I told it to redirect to domain2 but I see domain1 in the
address bar.
If I type out the URL to domain2 with all the params
everything works fine, so the problem is with how I am
redirecting there.
The redirect above is inside an IF statement which says if
the PubID is less then 100 I go to the table.asp page on
domain2.com else I stay with table.asp on domain1.com
Any ideas
PAul