954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

calling aspx page from asp

anybody know any tricks for executing aspx pages from asp pages.

basically I need to do something like this

<%
strResult = Server.Execute("otherPage.aspx")

%>


I know that you can't actually execute a .Net page from a classic page but I'm hoping somebody knows a trick to get the same results

campkev
Posting Pro in Training
484 posts since Jul 2005
Reputation Points: 14
Solved Threads: 19
 

Are you passing any attributes to the ASPX page?? Cuz you could just call to load the ASPX page, even from JavaScript loadPage

extofer
Posting Whiz in Training
239 posts since Aug 2005
Reputation Points: 8
Solved Threads: 6
 

no, not passing an attributes to it, just need to get a value back from it

campkev
Posting Pro in Training
484 posts since Jul 2005
Reputation Points: 14
Solved Threads: 19
 

try making the ASPX file the defaul file on a Virtusl Directory, then call the VD instead of the file... then return the attribute to the registry or even an INI or TXT file.

extofer
Posting Whiz in Training
239 posts since Aug 2005
Reputation Points: 8
Solved Threads: 6
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You