aspx_professional thread: PASSING Session and Application Variable btw ASP and ASPX file
There is no direct way of doing this, but I've cooked up a workaround for an
existing site that works something like this:
1. Navigate to an ASP page (transfer.asp), which dumps out the contents of
the Session object to an XML document, named after the ASP Session ID
2. Navigate to an ASP.NET page (transfer.aspx) passing the ASP Session ID as
a parameter. This page then reads the XML document generated by
transfer.asp, and dumps the key/pair information into the ASP.NET Session
object, and then deletes the source XML document.
It's horribly clunky, but it works.
<charles.lam@g...> wrote in message news:179032@a..._professional...
>
> Hi !
>
> Do you know how to sharing/passing application and session variable
between
> .asp and .aspx files within the same web server ?!
>
> e.g.
> application("dsn")
> session("password")
>
> Cheers,
> Charles.
>
>
>
> This e-mail (and any attachment (s)) is confidential and for use only by
> intended recipient (s). Access by others is unauthorised. Its content
> should not be relied upon and no liability or responsibility is accepted
by
> us, without our subsequent written confirmation of its content. If you are
> not an intended recipient, please notify us promptly and delete all copies
> and note that any disclosure, copying, distribution or any action taken or
> omitted to be taken in reliance on the information it contains is
> prohibited and may be unlawful. Further information on Guoco Group is
> available from http://www.guoco.com
>
>
>