Home > Net >  ASHX IReadOnlySessionState interface, access to the client post request very slow
ASHX IReadOnlySessionState interface, access to the client post request very slow

Time:10-07

To realize IRequiresSessionState interface is, slow


After the first request is very slow, will be better, but if you don't take the session, access to the client request soon

CodePudding user response:

Is unlikely to...

Although speed must be.

But you have a minute? This? Did you write what?

What also don't write too?

CodePudding user response:

First of all, the first request is slow is normal phenomenon,
But it all depends on how much slower, you this 1.2 min is going too far,
Second, look at your session what saved, if it is a user, and the associated rights and so on,
Then you should find access permissions and other data logic, is the cause of slow

CodePudding user response:

Your session is how to achieve

CodePudding user response:

she would play the soy sauce reference 3 floor response:
your session is how to achieve


refer to the second floor is nu month god reply:
first of all, the first request of slow is normal phenomenon,
But it all depends on how much slower, you this 1.2 min is going too far,
Second, look at your session what saved, if it is a user, and the associated rights and so on,
Then you should find access permissions and other data logic, is the cause of slow


reference 1st floor by_ love reply:
is unlikely to...

Although speed must be.

But you have a minute? This? Did you write what?

What also don't write too?





This is the session saved userid the userinfo user permissions
Nothing again,
Behind the first request, will have better a few times, want to ask is what reason??
I didn't also pinpoint the reasons for this

CodePudding user response:

reference 1st floor by_ love reply:
is unlikely to...

Although speed must be.

But you have a minute? This? Did you write what?

What also don't write too?


refer to the second floor is nu month god reply:
first of all, the first request of slow is normal phenomenon,
But it all depends on how much slower, you this 1.2 min is going too far,
Second, look at your session what saved, if it is a user, and the associated rights and so on,
Then you should find access permissions and other data logic, is the cause of slow



If we do not inherit IRequiresSessionState client will soon post request response, but take less than the session

CodePudding user response:

I want to ask is the session did you rewrite the mechanism, using the custom session mechanism?

CodePudding user response:

Why do you want to let the user information to the SESSION, this does not make sense, lost 30 minutes,

CodePudding user response:

refer to 6th floor Eva can play soy sauce reply:
I want to ask is the session did you rewrite the mechanism, using the custom session mechanism?


reference 7 floor XBodhi. Response:
why do you want to let the user information to the SESSION, this does not make sense, lost 30 minutes,



This is not I write, recently took over the maintenance of the project,

But,
It does not make sense, but the question now is whether the client post request ASHX slowly!!!!!!!!!!!
  • Related