troubleshooting Question

ASP to ASP.Net article on MSDN configuration

Avatar of throttlenet
throttlenet asked on
.NET Programming
7 Comments1 Solution1474 ViewsLast Modified:
The question has been posed on this site many times on how to implement ASP sessions with ASP.Net sessions.

Many times the answer is posted as this link

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ConvertToASPNET.asp

There have been some other work arounds suggested but some seem as flexible as that in the article.

My question is how to figure out what is going on in the article. I think I understand what is going on in the article. But, when I run the demo it does not work. The session values do not increment is the asp page. The aspx page increments but this doesn't travel back to the ASP page.

When I comment out the line

set Session = server.CreateObject("SessionMgr.Session2")

The asp session cannot be instantiated. This leads me to believe that I have set up things correctly?

I have installed the dll's correctly as far as I know. The session utility shows up in gacutil /l. It says to copy the SessionManager.dll to a local directory. I assume this means I can put it wherever I want as long as it is on the local machine running the web page?

Can anyone help me through this. I am confused as to why the article talks about overriding OnInit in the article and yet this is not implemented in the demo project. That makes no sense to me. I don't see any code in the demo to write cookies either.

Please help me work through this as this looks to be the best way to implement a link between the two technologies.

Also,
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros