Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Call asp page from aspx and vice versa ?

0 views
Skip to first unread message

Ben

unread,
Oct 1, 2003, 11:55:18 PM10/1/03
to
Is the following possible, running, calling asp, aspx in
the same application directory?

DemoApp\
Default.aspx -> Page1.asp
Page1.asp -> Page2.aspx

Thanks,
Ben

Fredrik Normén NSQUARED2

unread,
Oct 2, 2003, 3:24:56 AM10/2/03
to
Yes it's possible.

/Fredrik Normén NSQUARED2
http://www.nsquared2.net

>.
>

Ben

unread,
Oct 2, 2003, 3:53:39 AM10/2/03
to
Thanks for your reply.

I manage to redirect to Page1.asp from Default.aspx.
Page1.asp did some checking and create Session("ID") =
var, & redirect to Page2.aspx.

However Session["ID"] couldn't be retrieved in
Page2.aspx. A checking of
if (Session["ID"] == null is true.

.....????????

Ben

>.
>

Natty Gur

unread,
Oct 2, 2003, 4:20:25 AM10/2/03
to
Yes. just they wont share the same application / session data. ASP will
run by inetinfo process using asp.dll and aspx will be run by aspnet_wp
or w3_wp process thus they cant share data between them. but, there are
solutions for that issue comertial or by MS -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/
html/ConvertToASPNET.asp.

Natty Gur[MVP]
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Fredrik Normén NSQAURED2

unread,
Oct 2, 2003, 4:42:05 AM10/2/03
to
The ASP and ASP.Net could not share the same session.

Read this article if you want to know how to make it
possible to share sessions between asp and asp.net:

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

/Fredrik Normén NSQUARED2
http://www.nsquared2.net


>-----Original Message-----
>Thanks for your reply.
>
>I manage to redirect to Page1.asp from Default.aspx.
>Page1.asp did some checking and create Session("ID") =
>var, & redirect to Page2.aspx.
>
>However Session["ID"] couldn't be retrieved in
>Page2.aspx. A checking of
>if (Session["ID"] == null is true.
>

>......????????


>
>Ben
>
>>-----Original Message-----
>>Yes it's possible.
>>
>>/Fredrik Normén NSQUARED2
>>http://www.nsquared2.net
>>
>>
>>>-----Original Message-----
>>>Is the following possible, running, calling asp, aspx
>in
>>>the same application directory?
>>>
>>>DemoApp\
>>> Default.aspx -> Page1.asp
>>> Page1.asp -> Page2.aspx
>>>
>>>Thanks,
>>>Ben
>>>.
>>>
>>.
>>

>.
>

0 new messages