ASP Session Vars to ASP.Net

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

JDP_at_Work
Date: 08/27/04


Date: Thu, 26 Aug 2004 18:13:15 -0700

First off let me say that

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/converttoaspnet.asp

would not work as I see it. Right off, I can't have a cookie.

Anyway, another solution suggests using hidden form fields only helps me to know
that there is a way, I don't know how to pass a hidden form field from my clasic
ASP to ASP.Net

So does anyone have a down and dirty example of ASP passing its session to an
ASPX page using any reliable method other than cookies?

My ultimate goal....

....is to use SQLRS and to do so, I expect to have to lauch from .Net.

This is an intranet so there is little security, however when my users enter
their login on the default.asp and logs in, querys are run that retrieve the
appropriate security information and stores them in the ASP seesion vars,
loading them from page to page into hidden form fields.

Many of the ASP pages are called and if the session vars are populated
automatically call the subsequent pages, depending on security depositing the
user at the appropriate page or Crystal report rendered.

TIA

JeffP...



Relevant Pages

  • Re: Accessing ASP.NET Session or Application under old ASP
    ... But this is trully even when the ASP page is inside an ASP.NET application ... Using a cookie only isn't a security issue? ... Use a cookie to identify that user's data in the database. ...
    (microsoft.public.dotnet.framework.aspnet)
  • problem/help with using LWP
    ... from a browser you enter (at some point you get a session cookie, ... The navigation to the final POST always creates the same ... hidden form data. ... How do I refresh it? ...
    (comp.lang.perl.misc)
  • Re: What the H_ _ _ am I doing wrong????
    ... I'll do the querystring example for you but the hidden form field is just as easy. ... >the FRENCH or be able to Enter into BOTH ENGLISH and FRENCH ... >idea how to make that work for my code, especially in ASP. ... >> have to folow 2 textbox entries. ...
    (microsoft.public.inetserver.asp.general)
  • Re: Passing Hidden Form Variable to class .asp page
    ... I would like to pass a hidden form ... > variable to a classic asp page. ... > to send is a guid i created using the code below in my login page. ... > protected System.Web.UI.HtmlControls.HtmlInputHidden myguid; ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: COOKIE EXPIRATION TIME
    ... You could use a javascript to enter the client's time into a hidden form ... the client machine. ... > According to the documentation cookie expiration time is set via ...
    (microsoft.public.dotnet.framework.aspnet)