Click here to Skip to main content
15,895,084 members

Session sharing between classic ASP and ASP.NET

ElvirETF asked:

Open original thread
Hi I have a problem with session sharing between classic asp and asp.net applications. We have application in classic ASP written in vbscript and ASP.NET application in c#. All business logic is in classic ASP, but now we developing new version in .NET. For now we have only UI in ASP.NET and client want that user log in on ASP.NET application and be able to use functionality in classic ASP site. This two application are hosted on different servers but will be in same domain. (For example app1.domain.com is asp and domain.com is aspx site). I know that I need session sharing between this two app and I', trying to implement solution given in this article: http://msdn.microsoft.com/en-us/library/aa479313.aspx[^] . My question is, will this work for my case, so that i can share session between this apps on different servers within the same domain? This solution use cookies to send session ID. I tried this with this two application on same server, but I'm not sure will this work when it's deployed on different servers.
Tags: ASP, ASP.NET, Session

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900