Hi Guys
Here’s the next chapter on my “Response Redirect” problems:
I found last time that the “redirect” doesn’t clear the browser heading (Browser address window) and I therefore could “redirect” to the full address by simply redirect both URL’s with a; “/dotnetnuke” pointing them to the Dot Net Nuke folder in the root.
Now I need to redirect to a “child portal: - www.bestgoldcoast.com/dotnetnuke/wealth - which is addressed in the browser as: - www.bestgoldcoast.com/wealth - !!
I now HAVE TO clear data of the browser heading before I can re-direct – but how?
Alternatively it has to be a two step redirect process???
Current portals on the site:
bestgoldcoast www.bestgoldcoast.com/dotnetnuke
Gold Coast Web Wiz www.goldcoastwebwiz.com/dotnetnuke
Personal and Business. www.bestgoldcoast.com/dotnetnuke/wealth
My latest (unsuccessful) attempt of redirecting to both main and child portals.
Both main portal redirections work fine, while the child portal does not.
<%
If InStr( UCase(Request.ServerVariables("SERVER_NAME")), UCase("www.goldcoastwebwiz.com") ) > 0 Then
Response.Redirect("/DotNetNuke")
ElseIf InStr( UCase(Request.ServerVariables("SERVER_NAME")), UCase("www.bestgoldcoast.com") ) > 0 Then
Response.Redirect("/DotNetNuke")
ElseIf InStr( UCase(Request.ServerVariables("SERVER_NAME")), UCase("www.bestgoldcoast.com/wealth") ) > 0 Then
Response.Redirect("/dotnetnuke/wealth")
End If
%>
Cheers
Olle…..