Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Call ASP.NET file in ASP

Reply
Thread Tools

Call ASP.NET file in ASP

 
 
Joel
Guest
Posts: n/a
 
      04-13-2007
Hey Everybody,

I have some older sites using ASP and I'm trying to find out a way to
call an .aspx page through an ASP page. I want to do something like
this.. where the asp.net page called returns something like an image
or text.

<a href="ad_links.aspx?id=test_corp">
<img src="ads.aspx?id=test_corp" / >
</a>

This would all run server-side on the page loading.

Thanks for the help

 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      04-14-2007
I am trying to envision the problem other than session (or authentication,
which is still session). If session is your issue, then try something like
the following:

http://searchvb.techtarget.com/tip/1...951935,00.html
http://www.microsoft.com/japan/msdn/...ttoaspnet.aspx

If you are merely linking and using ASP.NET as an image server, you should
not have a major problem.


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*********************************************
Think outside the box!
*********************************************
"Joel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Hey Everybody,
>
> I have some older sites using ASP and I'm trying to find out a way to
> call an .aspx page through an ASP page. I want to do something like
> this.. where the asp.net page called returns something like an image
> or text.
>
> <a href="ad_links.aspx?id=test_corp">
> <img src="ads.aspx?id=test_corp" / >
> </a>
>
> This would all run server-side on the page loading.
>
> Thanks for the help
>


 
Reply With Quote
 
 
 
 
Rad [Visual C# MVP]
Guest
Posts: n/a
 
      04-14-2007
On 13 Apr 2007 16:30:47 -0700, Joel wrote:

> Hey Everybody,
>
> I have some older sites using ASP and I'm trying to find out a way to
> call an .aspx page through an ASP page. I want to do something like
> this.. where the asp.net page called returns something like an image
> or text.
>
> <a href="ad_links.aspx?id=test_corp">
> <img src="ads.aspx?id=test_corp" / >
> </a>
>
> This would all run server-side on the page loading.
>
> Thanks for the help


As long as the asp.net application is not relying on authentication, you
should not get a problem using an aspx page to serve images
--
Bits.Bytes
http://bytes.thinkersroom.com
 
Reply With Quote
 
Kris Lankford
Guest
Posts: n/a
 
      04-14-2007
Joel,

You could just use create an handler that an get the image for you. Here is
a sample:

http://www.codeproject.com/aspnet/thumbnailer.asp

You should be able to set the source of your image to something like:
<img
src="http://aspnethost/imagehandler.ashx?imageid=k34lk22-se35kl-kjjlkj"...

It could find the image via the id and return the image in the response
stream. This method has been used many time to protect images. You could
also add other query string items to let the handler if it should send the
image based on criteria such as login, ip, etc...

Hope this helps.

"Joel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Hey Everybody,
>
> I have some older sites using ASP and I'm trying to find out a way to
> call an .aspx page through an ASP page. I want to do something like
> this.. where the asp.net page called returns something like an image
> or text.
>
> <a href="ad_links.aspx?id=test_corp">
> <img src="ads.aspx?id=test_corp" / >
> </a>
>
> This would all run server-side on the page loading.
>
> Thanks for the help
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to call a ASP.net file from ASP file =?Utf-8?B?QW5hbmRoaQ==?= ASP .Net 1 04-19-2007 03:01 PM
Call Manager limit call duration nazgulero Cisco 0 10-25-2005 06:58 AM
How to make landline call to another landline then out call long distance? jt VOIP 6 01-30-2005 03:57 AM
RMI: remote call or local call Buu Nguyen Java 5 09-17-2004 08:05 AM
help: need to call call web service from java bill sandner Java 1 07-01-2004 02:57 PM



Advertisments