ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 16th, 2003, 02:02 AM
m_y_o_b m_y_o_b is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 3 m_y_o_b User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy how to post asp script in <base href="> tag?

Hi everyone...HELP!

I am trying to find out how to post as asp script within <base href="...> tag so than i can direct all the url within the html page to my asp script.

example:-

URL as my base url address for all url within the html page.

Any help would be much appreciated

thanks

Reply With Quote
  #2  
Old October 16th, 2003, 07:42 AM
mohecan mohecan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 212 mohecan User rank is Private First Class (20 - 50 Reputation Level)mohecan User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
What do you mean exactly?

you should be able to use something like

Code:
<base href=<%=aspvariable%>


but I'm not sure this is what you're looking for.
__________________
How can I soar like an eagle when
I'm flying with turkey's?

Reply With Quote
  #3  
Old October 16th, 2003, 08:03 PM
m_y_o_b m_y_o_b is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 3 m_y_o_b User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks for ur reply.

when i try to run the following asp script i can see all the url within the html page direct to URL i would like something to appear as URL can i achieve it?!

Your help is much appreciated. thank you.

<HTML>
<HEAD>
<TITLE> Sample Page </TITLE>

<base href="http://cpiconnect/url14.asp?url=http://www.newsfactor.com/">

</HEAD>
<body>
<%
' Response.Buffer = True
Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://www.newsfactor.com/", False
xml.Send
Response.Write "<h1>The HTML text</h1><xmp>"
Response.Write xml.responsetext
Response.Write "</xmp><p><hr><p><h1>The HTML Output</h1>"
Response.Write xml.responsetext
Set xml = Nothing
%>
</body>
</html>

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > how to post asp script in <base href="> tag?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT