By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,720 Members | 1,155 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,720 IT Pros & Developers. It's quick & easy.

Sessions between ASP Classic & ASP.NET

P: n/a
Hi everbody,
I've an old ASP classic application that uses sessions frequently. I
have added some new ASP.NET 2 new pages to that old application. How
can I interact with sessions that are made and used in ASP classic
pages? I think and heard that sessions in both ASPs reside on different
memory spaces.

Your Sincerly:
A. Mohebbi

Apr 11 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
> I think and heard that sessions in both ASPs reside on different
memory spaces.
They do. You can pass the data to a commonly-available database, or pass it
via QueryString from one sort of page to the other, or via form post. There
are other methods as well, all of which fall under the category of
"messaging."

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.

"afshar" <af************@gmail.com> wrote in message
news:11*********************@j33g2000cwa.googlegro ups.com... Hi everbody,
I've an old ASP classic application that uses sessions frequently. I
have added some new ASP.NET 2 new pages to that old application. How
can I interact with sessions that are made and used in ASP classic
pages? I think and heard that sessions in both ASPs reside on different
memory spaces.

Your Sincerly:
A. Mohebbi

Apr 11 '06 #2

P: n/a
Hi,

Here's a great workaround that lets you share your Session data between
ASP and ASP.NET using dynamic forms:
http://www.eggheadcafe.com/articles/20021207.asp

There's also a solution offered by Microsoft, which uses a shared SQL
Server to hold the Session state:
http://msdn.microsoft.com/library/de...rtToASPNET.asp

HTH,

Chris

Apr 11 '06 #3

P: n/a
You could use a 3rd party product such as this:
http://www.consonica.com/solutions/statestitch/

Or you can transfer values via a common database, or you can transfer values
between the two systems vai querystring, or posting hidden fields, etc.
Here's more information:
http://www.eggheadcafe.com/articles/20021207.asp
http://msdn.microsoft.com/library/de...rtToASPNET.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"afshar" <af************@gmail.com> wrote in message
news:11*********************@j33g2000cwa.googlegro ups.com...
Hi everbody,
I've an old ASP classic application that uses sessions frequently. I
have added some new ASP.NET 2 new pages to that old application. How
can I interact with sessions that are made and used in ASP classic
pages? I think and heard that sessions in both ASPs reside on different
memory spaces.

Your Sincerly:
A. Mohebbi

Apr 11 '06 #4

P: n/a
Thanking of all your replies, but I dont want my ASP Classic pages to
be changed. So I couldn't send information from Classic to .NET via
QueryString or any database solution. I think I can just create an
inetrmediate ASP Classic page that gets ASP Classic sessions normally
then send it to .NET pages with some of these ways.

Thanks All
A. Mohebbi

Apr 12 '06 #5

P: n/a
You're on the right track, A.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.

"afshar" <af************@gmail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
Thanking of all your replies, but I dont want my ASP Classic pages to
be changed. So I couldn't send information from Classic to .NET via
QueryString or any database solution. I think I can just create an
inetrmediate ASP Classic page that gets ASP Classic sessions normally
then send it to .NET pages with some of these ways.

Thanks All
A. Mohebbi

Apr 12 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.