Link to home
Create AccountLog in
ASP

ASP

--

Questions

--

Followers

Top Experts

Avatar of robjohnston
robjohnston

remote include file
Is it possible to include a file from a different server?
If you can, which server would then process any ASP code within the file?

Thanks, Rob.

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of CUTTHEMUSICCUTTHEMUSIC

I don't that is possible.

Sorry I meant:
I don't think that is possible.

Unless you used frames.
The ASP would then be processed at the remote server.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


CUT THE MUSIC .????? I did not understand...

I meant there is now way that I know of to include an ASP script on your site unless you use frames.

example:

<html>
<head>
<title>Page Title</title>
<frameset framespacing="0" rows="80,*" border="0" frameborder="0">
  <frame name="header" scrolling="auto" noresize target="main" src="topFrame.asp" marginwidth="0" marginheight="0">
  <frame name="main" src="http://www.domain.com/otherPage.asp" marginwidth="0" marginheight="0" scrolling="auto">
  <noframes>
  <body topmargin="0" leftmargin="0">
This page uses frames, but your browser doesn't support them.
  </body>
  </noframes>
</frameset>
</html>

ASKER CERTIFIED SOLUTION
Avatar of Mark FranzMark Franz🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

a) Component AspTear (www.asptear.com, free)
b) Component DynuHTTP (www.dynu.com, free)
c) Component AspHTTP (www.serverobjects.com, $50)
d) Write your own component, i.e., in VB, using the Internet Transfer Control or the Winsock control or API, or the WinInet API
e) Write your own Java Component or Class
f) If you want to do it by script, use PerlScript:

<% @Language="VBScript" %>
<%
str = getPage
Response.Write str
%>
<script language="perlscript" runat="server">
sub getPage {
  use LWP::Simple;
  return get("http://localhost")
}
</script>

------------------------------------------------------------

You'll get the document as HTML / image, or whatever its output is.
ASP will be processed at the server where the file is stored.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Mark FranzMark Franz🇺🇸

Unfortunatly, if any images are not fully qualified, they will be returned as "blank" in most cases, I don't know about Tear or Dynu, but it should be easy to get the path of the refering server.

robbert, did you get my emails?

Avatar of robjohnstonrobjohnston

ASKER

OK, what I want to do is write a script for general use which people can call from my server. The script would query a database held on my server, hence "which server processes the ASP". Once they have called the page they can then use and data written by that page.
This is in perference to letting others put extra files on my server.

OK, what I want to do is write a script for general use which people can call from my server. The script would query a database held on my server, hence "which server processes the ASP". Once they have called the page they can then use and data written by that page.
This is in perference to letting others put extra files on my server.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


It's time to clean up this topic area and that means taking care of this question. Your options at this point are:

1. Award points to the Expert who provided an answer, or who helped you most. Do this by clicking on the "Accept Comment as Answer" button that lies above and to the right of the appropriate expert's name.

2. PAQ the question because the information might be useful to others, but was not useful to you. To use this option, you must state why the question is no longer useful to you, and the experts need to let me know if they feel that you're being unfair.

3. Delete the question because it is of no value to you or to anyone else.  To use this option, you must state why the question is no longer useful to you, and the experts need to let me know if they feel that you're being unfair.

If you elect for option 2 or 3, all you need to do is post right here as a comment, and I will take care of the rest.  We also request that you review any other open questions you might have and deal with them as necessary.

PLEASE DO NOT AWARD THE POINTS TO ME.

____________________________________________



Hi Experts:

In the event that the Asker does not respond, I would very much appreciate your opinions as to which Expert ought to receive points (if any) as a result of this question.  Likewise, you can also suggest that I PAQ or delete the question.

Experts, please do not add further "answer" information to this question.  I will be back in about one week to finalize this question.

Thank you everyone.

Moondancer
Community Support Moderator @ Experts Exchange

P.S.  Old questions do not properly reflect the comment date/time sort order, Engineering has been advised.  Just want to bring this to your attention.

Did a similar thing in the end, thanks to all, Rob.
ASP

ASP

--

Questions

--

Followers

Top Experts

Active Server Pages (ASP) is Microsoft’s first server-side engine for dynamic web pages. ASP’s support of the Component Object Model (COM) enables it to access and use compiled libraries such as DLLs. It has been superseded by ASP.NET, but will be supported by Internet Information Services (IIS) through at least 2022.