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

Session variables between ASP and ASP.NET

I have a fairly massive application written in ASP. I'm trying to
convert just a few pages of it to ASP.NET, but the problem that I am
having is that the Session variables defined on the ASP pages don't
come across into the Session variables in the codebehind on the
ASP.NET. Is there a way to accomplish this, or am I dead in the
water?

Thanks for your help.
Oct 28 '08 #1
5 2207

My guess is that this has been asked many (very very many) times before:

http://www.google.com/search?hl=en&q...earch&aq=f&oq=

Peter's http://www.eggheadcafe.com/ is a notably reliable source.

"daveh551" <ge****@gmail.comwrote in message
news:d1**********************************@x16g2000 prn.googlegroups.com...
>I have a fairly massive application written in ASP. I'm trying to
convert just a few pages of it to ASP.NET, but the problem that I am
having is that the Session variables defined on the ASP pages don't
come across into the Session variables in the codebehind on the
ASP.NET. Is there a way to accomplish this, or am I dead in the
water?

Thanks for your help.

Oct 28 '08 #2
A great many of them are mine. :-)
http://msdn.microsoft.com/en-us/library/aa479313.aspx

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"sloan" <sl***@ipass.netwrote in message
news:uo**************@TK2MSFTNGP04.phx.gbl...
>
My guess is that this has been asked many (very very many) times before:

http://www.google.com/search?hl=en&q...earch&aq=f&oq=

Peter's http://www.eggheadcafe.com/ is a notably reliable source.

"daveh551" <ge****@gmail.comwrote in message
news:d1**********************************@x16g2000 prn.googlegroups.com...
>>I have a fairly massive application written in ASP. I'm trying to
convert just a few pages of it to ASP.NET, but the problem that I am
having is that the Session variables defined on the ASP pages don't
come across into the Session variables in the codebehind on the
ASP.NET. Is there a way to accomplish this, or am I dead in the
water?

Thanks for your help.

Oct 29 '08 #3
Try this
http://msdn.microsoft.com/en-us/library/aa479313.aspx

It is not perfect. The more stuff you can shove into a persistant store, the
better, in practice.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"daveh551" <ge****@gmail.comwrote in message
news:d1**********************************@x16g2000 prn.googlegroups.com...
>I have a fairly massive application written in ASP. I'm trying to
convert just a few pages of it to ASP.NET, but the problem that I am
having is that the Session variables defined on the ASP pages don't
come across into the Session variables in the codebehind on the
ASP.NET. Is there a way to accomplish this, or am I dead in the
water?

Thanks for your help.
Oct 29 '08 #4
On Oct 28, 2:13*pm, "sloan" <sl...@ipass.netwrote:
My guess is that this has been asked many (very very many) times before:

http://www.google.com/search?hl=en&q...between+ASP+an....

Peter'shttp://www.eggheadcafe.com/is a notably reliable source.

"daveh551" <gee...@gmail.comwrote in message

news:d1**********************************@x16g2000 prn.googlegroups.com...
I have a fairly massive application written in ASP. *I'm trying to
convert just a few pages of it to ASP.NET, but the problem that I am
having is that the Session variables defined on the ASP pages don't
come across into the Session variables in the codebehind on the
ASP.NET. *Is there a way to accomplish this, or am I dead in the
water?
Thanks for your help.
Sloan, you are absolutely right, and my apologies to the group for
rushing to this forum before putting in the effort to find the answer
myself. Laziness on my part. And you're right, Peter Bromberg's
column in Eggheadcafe (http://www.eggheadcafe.com/articles/
20021207.asp) was the easiest answer I found and worked perfectly.
Oct 29 '08 #5
I amend my previous statement !

"Also, Cowboy (Gregory A. Beamer) is a notably reliable source as well".


"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:eO*************@TK2MSFTNGP06.phx.gbl...
>A great many of them are mine. :-)
http://msdn.microsoft.com/en-us/library/aa479313.aspx

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"sloan" <sl***@ipass.netwrote in message
news:uo**************@TK2MSFTNGP04.phx.gbl...
>>
My guess is that this has been asked many (very very many) times before:

http://www.google.com/search?hl=en&q...earch&aq=f&oq=

Peter's http://www.eggheadcafe.com/ is a notably reliable source.

"daveh551" <ge****@gmail.comwrote in message
news:d1**********************************@x16g200 0prn.googlegroups.com...
>>>I have a fairly massive application written in ASP. I'm trying to
convert just a few pages of it to ASP.NET, but the problem that I am
having is that the Session variables defined on the ASP pages don't
come across into the Session variables in the codebehind on the
ASP.NET. Is there a way to accomplish this, or am I dead in the
water?

Thanks for your help.


Oct 29 '08 #6

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

Similar topics

6
by: Al Jones | last post by:
This is a repost form the vbscript newgroup - if this isn't the appropriate group would you point me toward one that is. Basically, I seem to be losing session data part way though preparing an...
6
by: Lina Manjarres | last post by:
Hello, I have a session variable in a login page. Then I go to a form page where I uses the ProfileID and the UserID. Then I go to a result page where I would like to use the UserID as a filter,...
4
by: PJ | last post by:
A particular page seems to be having issues with correctly setting Session variables. I am setting a couple of session variables on the Page_Unload event. While stepping through code, the...
31
by: Harry Simpson | last post by:
I've come from the old ASP camp where session variables were not used. When i started using ASP.NET in 2001, I started using them again because it was ok from what I'd read. I've been merrily...
10
by: tshad | last post by:
I have been using the default session state (InProc) and have found that I have been loosing my information after a period of time (normally 20 minutes). Is there anyway to find out how much...
3
by: Alan Wang | last post by:
Hi there, Once my application gets complicated and complicated. I found it's really hard to keep track of Session value I am using in my asp.net application. I am just wondering if anyone have...
3
by: Phillip N Rounds | last post by:
I'm writing a user control which has two states: Active & InActive. I additionally am required that there to be only one active control per page, and all logic has to be contained within the...
18
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that...
26
by: BillE | last post by:
Some ASP.NET applications use Session Variables extensively to maintain state. These should be re-written to use viewstate, hidden fields, querystring, etc. instead. This is because if a user...
12
by: MrHelpMe | last post by:
Hello again all, I've finished my whole application and now I don't like the whole session variables that I am using. I have a form, user fills in info clicks submit and using CDOSYSMail an...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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...
1
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.