473,325 Members | 2,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Session info from classic asp to asp.net

I am adding on to an existing classic asp app. I need to maintain the
session variables when I move from classic to asp.net.
Any ideas on how to do it?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 18 '05 #1
4 1058
Hi,

http://msdn.microsoft.com/library/de...rttoaspnet.asp

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke
"rkmoray" <rk*****@aol-dot-com.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
I am adding on to an existing classic asp app. I need to maintain the
session variables when I move from classic to asp.net.
Any ideas on how to do it?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 18 '05 #2
Session variables can't be "shared" between asp and asp.net. You can find
some clever ways to pass them into asp.net, however. (Use a database,
etc...)

Steve
"rkmoray" <rk*****@aol-dot-com.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
I am adding on to an existing classic asp app. I need to maintain the
session variables when I move from classic to asp.net.
Any ideas on how to do it?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 18 '05 #3
You know, I don't think anyone has ever asked that question before...

http://www.eggheadcafe.com/articles/20021207.asp

"rkmoray" <rk*****@aol-dot-com.no-spam.invalid> wrote in message news:40**********@Usenet.com...
I am adding on to an existing classic asp app. I need to maintain the
session variables when I move from classic to asp.net.
Any ideas on how to do it?


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 18 '05 #4
There is no single great way to share session state between ASP and ASP.NET.
But that doesn't mean you don't have options.

Here are some common ways:
* Store the data in a common database
* Pass data from page to page on the QueryString
* Store the data in cookies
* Use a 3rd party session sharing component
(Here's one:
http://www.consonica.com/solutions/d...tch/index.html)
* Use COM Interop to provide an object that both sides can access that
handles the data.
Here's an example of the latter:
http://msdn.microsoft.com/library/de...rtToASPNET.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com
"rkmoray" <rk*****@aol-dot-com.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
I am adding on to an existing classic asp app. I need to maintain the
session variables when I move from classic to asp.net.
Any ideas on how to do it?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: David Lozzi | last post by:
Hello All, I am having an issue with thus far one computer on my client's web site. If the user loads the shopping cart and then closes all browser windows, then opens them back up, goes back to...
1
by: Paul Boyes | last post by:
Hello, I am sure this is a fairly common problem, but I have not see any info that directly addresses is. Here is what is happening: We have a windows forms based (C3 .Net) application that...
0
by: TaeHo Yoo | last post by:
Hi all, I am prett new in asp.net. We have a project which has classic asp and asp.net scripts. Obviously this project has a bin directory under the root directory. About 80% of this project...
3
by: Simon | last post by:
Hi all, Any help with this would be much appreciated: I have a site where the session needs to timeout because of security concerns. I want to send the user back to the login page if the...
4
by: abcd | last post by:
I have an ASP application. It instantiaties some COM components and we put those COM components in Session variables...COM components have license restrictions...We have written new ASPX page ( for...
3
by: Benny Ng | last post by:
Hi,all, In the traditional ASP development.We usually used Session to stored the user info(user name,user type,etc.). And in the .NET development. We perfer to used Session or Cache to stored it?...
2
by: xxdanbrowne | last post by:
Hi, Is there any way to transfer Classic ASP session state to ASP.NET Session without resorting to a kludge? i.e. have they included it as an option in session so's you can more easily upgrade a...
8
by: antonyliu2002 | last post by:
We are extending a web application written in classic ASP long time ago. We will add more components to this web application in ASP.NET 2.0. To use the web application, our web users will have...
8
by: =?Utf-8?B?TmF0ZQ==?= | last post by:
All, My department has recently been tasked with converting an ASP 3.0 web application to an ASP.NET 2.0 web application. Currently, in order to read values from the ASP 3.0 Session from an...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.