In classic asp, can I save the database connection in a Session object?

Can I save a database connection in a Session object?

+3
source share
5 answers

With this link http://support.microsoft.com/default.aspx/kb/243543

You should not store the database connection in the session.

From what I understand, if you do this, then subsequent ASP requests for the same user should use the same thread.

Therefore, if you have a busy site, the likelihood that "your" thread will already be used by someone else, you will have to wait until it becomes available.

, elses .

+1

, , Application, /, . . (Dead link , )

+5

, , , .

+2

, - (, , ).

, no-no; , .

ADO , (, , ) , " " . , , - , . , , " ", - .

+2

CJM, Session: .

-2

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


All Articles