473,406 Members | 2,619 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,406 software developers and data experts.

Sharing ASP seesion with ASP.net

I have an ASP file that that stores data in 'Session' object. Later
same ASP page loads another ASPX file written in C#; and I would like
to access the data stored in 'Session' object. Can I do this?

And I barely know ASP.
Thanks
Ramesh

Apr 25 '07 #1
3 1199
Please see :

"How to Share Session State Between Classic ASP and ASP.NET" :

http://msdn2.microsoft.com/en-us/library/aa479313.aspx


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
<as*******@gmail.comwrote in message news:11**********************@t39g2000prd.googlegr oups.com...
>I have an ASP file that that stores data in 'Session' object. Later
same ASP page loads another ASPX file written in C#; and I would like
to access the data stored in 'Session' object. Can I do this?

And I barely know ASP.
Thanks
Ramesh

Apr 25 '07 #2
You could use a 3rd party product such as this:
http://www.consonica.com/statestitch.aspx

Or you can transfer values via a common database, or you can transfer values
between the two systems via querystring, or posting hidden fields, etc.
Here's more information:
http://www.eggheadcafe.com/articles/20021207.asp
http://msdn2.microsoft.com/en-us/library/aa479313.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net

<as*******@gmail.comwrote in message
news:11**********************@t39g2000prd.googlegr oups.com...
>I have an ASP file that that stores data in 'Session' object. Later
same ASP page loads another ASPX file written in C#; and I would like
to access the data stored in 'Session' object. Can I do this?

And I barely know ASP.
Thanks
Ramesh
Apr 26 '07 #3
No, at least not directly. You have to wrangle a bit to get the session
values into a persitant data store. The article Juan talks about has some
hints.
http://msdn2.microsoft.com/en-us/library/aa479313.aspx

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*********************************************
Think outside the box!
*********************************************
<as*******@gmail.comwrote in message
news:11**********************@t39g2000prd.googlegr oups.com...
>I have an ASP file that that stores data in 'Session' object. Later
same ASP page loads another ASPX file written in C#; and I would like
to access the data stored in 'Session' object. Can I do this?

And I barely know ASP.
Thanks
Ramesh
Apr 26 '07 #4

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

Similar topics

3
by: Alex | last post by:
Hi all, I want to write a "File sharing system". Is posssible with socket and thread create multisuer connection at the same time ? or is wrong my idea?? thanks
1
by: Simon Neve | last post by:
Hello, This question is related to sharing .Net projects across solutions and is reposted from the SourceSafe group. We have several different solutions and want to share common assemblies...
6
by: varlagas | last post by:
We disabled the antivirus software but the problem persists. Any clues? Many thanks in advance! Panagiotis Varlagas ======================================================================= ...
2
by: Vitaly | last post by:
Hi, I've encountered a problem sharing c# application in NetMeeting. The problem is that when I try to share some GUI application, I don't see it on remote computer. Sometimes I see random small...
5
by: Jeff | last post by:
Hi - I'm creating an installation program that will install a VB.NET program and an instance of MSDE on an unknown desktop (commercial application). The install will include the MSDE...
1
by: Joe | last post by:
While I understand that Server Side Includes still work, I realize it's not the best practice for sharing code such as a common set of includes between screens. In ASP.NET I've already built...
0
by: Emily | last post by:
Imagine a world where everybody shares and has faith in each other. We have all struggled at one time or another with our jobs or careers and have wondered if there was a better way to make a...
8
by: mc | last post by:
I would like to be able to send from an ASP.NET page an email which when recieved takes the form of a "Sharing Invitation for a RSS Feed"...
11
by: limperger | last post by:
Hello everybody! I have just found out that the sharing properties of a single database (mdb file on a network), accessed by 3 users, change depending on the user accessing the database. That is,...
1
by: strconv | last post by:
Hi, i get a project about; to showing videos and mp3 on server but without sharing. is it possible to do with winsock ? i have a server(xp pro) and i have 20+ client. but there is no file...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.