468,117 Members | 2,204 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,117 developers. It's quick & easy.

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 2138

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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Lina Manjarres | last post: by
31 posts views Thread by Harry Simpson | last post: by
10 posts views Thread by tshad | last post: by
3 posts views Thread by Alan Wang | last post: by
3 posts views Thread by Phillip N Rounds | last post: by
26 posts views Thread by BillE | last post: by
7 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.