Classic ASP ASP for a one-time copy of ASP.Net data

We have an extensive classic ASP site, and we plan to upgrade to ASP.Net (most likely the latest version). Obviously, updating all pages at once will be a leviathan task, so we just want to write new pages (and page rewrites) in ASP.Net first.

There are two obstacles to this:

  • I have no idea how to access classic ASP session data in ASP.Net. This would need to be set only once, since it never changes on any page except the login page. I would prefer to make minimal changes to the classic ASP login page, but this is only a small preference.

  • In ASP and ASP.Net sessions, you must disable the timeout at the same time to keep the version difference unchanged.

Can anyone offer any help please?

Thanks in advance.

+3
source share
3 answers

We faced the same problem (not fun). Since the Asp.Net session and the Asp session cannot be used together, we used a combination of methods, each of which corresponds to the situation.

  • In some cases, we used cookies instead of a session.
  • , , ​​ ASP, , Asp.Net, Asp.Net. , Asp.Net , ​​ , . .

, :

→ page → logs in → → .

to

→ page → logs in → → .net , .. → aspx , .

, , , .

+7

, IIS ( , , IIS7). XMLRequest ASP ASP.Net. , Post, .net , . .net .net cookie, cookie ASP, cookie.NET Classic ASP.

.

+1

, .

Microsoft , .

0

Source: https://habr.com/ru/post/1719417/


All Articles