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

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

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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.