Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1035507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:33:10+00:00 2026-05-16T14:33:10+00:00

I will be adding new pages and adding functionality to current pages. I would

  • 0

I will be adding new pages and adding functionality to current pages.
I would basically like to use new technology and but I don’t know how should I add it to classic ASP pages

In other words, can I <#--include--> an aspx page in Classic asp page? Or anything of that sort, may be creating a user control in ASP.NET and using it in classic ASP?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:33:10+00:00Added an answer on May 16, 2026 at 2:33 pm

    You shouldn’t really add it to the existing classic ASP pages. You may want to perform a full (yet slow) migration from classic ASP to .Net. Otherwise, you may just simply want to add your new functionality in new pages completely. If you have a templated site, this may become a litle cumbersome because you will need to recreate those templates in .Net since mixing .Net and classic in the same file is not possible.

    You could ultimately end up resorting to iframes, but this makes browsers goofy sometimes. If your application is dependent on session, you’ll need to account for that because .Net can’t access a classic session unless you stick to primitives (string/int/etc) and use an outside state provider (like SQL) to hold the data with a sessionid that can be passed.

    Having a hybrid site is a very tricky prospect and not one to be taken lightly. Tread carefully or you’ll really put yourself in a pickle.

    EDIT: Partial Hybrid example description

    We had a 700 or so page site to transfer from classic asp to Asp.Net 2.0. Many of the pages were allotted time to be completely transferred during a single project, but a few areas were unable to be refactored and had to be accommodated. We put together a master page architecture for the new .Net structure, data library and business objects library, and we began the transfer. In incorporating the classic asp pages, we determined we had a few needs.

    1. Since master pages would control basic layout, menu, header, footer, we would need to remove these elements from any pages brought over.
    2. New session requirements were incompatible with existing session capabilities.
    3. Classic asp pages must still be required to obey .Net formsauthentication.

    I solved these problems with the following solutions:

    1. Our application is targeted at a specific customer, so we were able to determine browser requirements. This allowed us to employ an iframe to hold classic asp content/applications without worrying that the iframe would go crazy on us in Webkit or Firefox or whatever.
    2. To accommodate the session requirements, we built a small encryption/decryption engine in .Net and in classic asp that enabled us to encrypt a “query string” to pass the session information back and forth. It wasn’t super secure, just enough that the casual user would not be tempted to mess with data. In addition we had to build two translation files. The first translation file was a .Net library static method that would take the session data, extract the necessary pieces and create the query string. The second one was the classic asp version that was designed to read the query string, parse the data and create the session primitives directly.
    3. Making the classic asp pages behave for .Net was a server management issue. To do this, using the formsauthentication attribute protection=”All” is supposed to be sufficient, but I found it still did not cover items that had other handlers anticipated. So I added a wildcard mapping in IIS to handle all files. From the properties of the IIS website, choose “Home Directory” and click “Configuration”. At the bottom of the next window is a “Wildcard application maps” box. Click insert and navigate to the version of .Net you use to find the aspnet_isapi.dll file. This will force all files to parse against this file (which is harmless except that it kicks up the authentication request).

    I can’t provide specific code samples because of NDA, but this should at least provide some ideas on where to go from here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 508k
  • Answers 508k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Some time ago I've found the following Code on the… May 16, 2026 at 4:19 pm
  • Editorial Team
    Editorial Team added an answer Can you not just iterate through and execute sp_refreshview dynamically?… May 16, 2026 at 4:19 pm
  • Editorial Team
    Editorial Team added an answer It looks like you generated the service and client configuration… May 16, 2026 at 4:19 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

First I would like to say that I am new to this site, never
I need to create general actions menu for my pages. All of pages will
First of all I am an autodidact so I don't have great know how
Perhaps I'm missing this functionality out of the box, but I can't seem to
I combined MVC and DD by creating a new DD project and adding the
The 'RenderPartial()' method in ASP.NET MVC offeres a very low level of functionality. It
There is a one section of orders page where users can add new fields
I am developing a WebPart (it will be used in a SharePoint environment, although
I am writing a SharePoint web part which will have a simple ASP.NET form.
I'm pretty new to programming in general (really started only 2 1/2 years ago)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.