Classic ASP to ASP.NET

Posted on 2012-08-16
Last Modified: 2012-09-10
I have read many articles and post about sharing sessions with classic asp and the newer  I am having trouble with any of them that I have read on how to do.  Basically I have a user site where they log into the website on an HTML page, that when verified they are passed to a .asp dashboard page.  I am currently putting forms on the .asp site that are in, but I need to verify that they are who they really say they are.  So when the user clicks on a link from a .asp page to go to a specific form I want the form to open up in a new tab and somehow send the username with it(hidden username in a field) so that when I receive the form it show's who sent it.  I am currently coding in C# for my files.
Question by:Shade22
    LVL 58

    Assisted Solution

    Don't use sessions, create a cookie, then read the cookie in the .net page and place in a session.
    LVL 31

    Accepted Solution

    LVL 9

    Expert Comment

    The Best way is use a database table.

    when you are switching from asp to then store the session values from asp to a database table.

    Redirect to aspx page with session id as querystring. the aspx page will read the session details from database and restore it in session.

    We have tried many methods in past but this method still works like a charm.

    You need to design your architecture in such a way that there is a transition page in between.

    A Transition page can take page name & Session id as querystring. also store the details in database and can read the details from database. You may need 2 such pages - 1 for asp and 1 for aspx.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now