26

Re: WebForm vs MVC

love_bach wrote:

Petro123 it is exact not a bot?

Precisely. But to sense is not present:-Q

27

Re: WebForm vs MVC

skyANA wrote:

that is actively used Session is similar. On it lock for the period of the request is superimposed, here the second request and waits, while it does not release.

I launch the old project on ASP.NET WebForm.
There only  (Login and the Password (AES)), Sesii on used.
And the same result:
1) "the long" request Is launched
2) It is opened the second tab
3) the Second the tab waits when the first tab and only fulfills then opens.
I open the new project on ASP.NET MVC with asynchronous methods in the controler and such problem - is not present
Login and the Password in  (AES)
What request would not open on the first tab, the second does not depend on the first! It opens and is possible in it to work though the first still "thinks" (hangs).

28

Re: WebForm vs MVC

potkin;
Explicitly disconnect usage of sessions in all old project and recheck

29

Re: WebForm vs MVC

skyANA wrote:

explicitly disconnect usage of sessions

Used only .
Here so:

HttpCookie CookieName = context. Request. Cookies ["CookieName"];
CookieLogin = CookieIPOL ["CookieLog"];//Dokodiruju AES
CookiePassword = CookieIPOL ["CookiePas"];//Dokodiruju AES

What sessions.

30

Re: WebForm vs MVC

potkin wrote:

it is passed...
I launch the old project on ASP.NET WebForm.
There only  (Login and the Password (AES)), Sesii on used.
And the same result:
1) "the long" request Is launched
2) It is opened the second tab
3) the Second the tab waits when the first tab and only fulfills then opens.
I open the new project on ASP.NET MVC with asynchronous methods in the controler and such problem - is not present
Login and the Password in  (AES)
What request would not open on the first tab, the second does not depend on the first! It opens and is possible in it to work though the first still "thinks" (hangs).

The odd fellow the person).
All browsers work similarly for me  too most like.
2. No made programmer does long requests in a web projects.
For short requests it is possible to use not only yours async.
Total I repeat a question:
What for to do long request?

31

Re: WebForm vs MVC

potkin wrote:

what sessions.

to doctors at first  bring.

32

Re: WebForm vs MVC

potkin wrote:

it is passed...
Used only .
Here so:

HttpCookie CookieName = context. Request. Cookies ["CookieName"];
CookieLogin = CookieIPOL ["CookieLog"];//Dokodiruju AES
CookiePassword = CookieIPOL ["CookiePas"];//Dokodiruju AES

What sessions.

It is not important that you in the code do not address to Session, it is all the same used.
Disconnect explicitly through a config: sessionState mode Off, - also recheck.

33

Re: WebForm vs MVC

wrote:

the Odd fellow the person).

wrote:

to doctors at first  bring

1) Let's not be called?
2) not my Project.
3) There is an access to a site and I can look as it works, no more.
4) the Director of this firm asked me to describe the technical-job  with an error (defect) since he does not rummage in it.
Once again the reason:
It is necessary to open some tabs of the browser and to them to work:
1) On one launched the report for a floor of year
2) In the second it is processed primary documents - here hangup while the first does not fulfill.
THE ITEM WITH.
I wrote on WebForm earlier - and there was a same problem, therefore passed on MVC, here such problems I do not watch.
The similar project works for me in adjacent firm and such problems are not present, therefore me and asked to describe simply an error to the developer, no more.

34

Re: WebForm vs MVC

potkin wrote:

1) Let's not be called?

Yes  you. A man's forum

potkin wrote:

2) not my Project.

Yes. But you did an output about technology, and I speak that the project Is written on a miscellaneous. The difference is?

potkin wrote:

4) the Director of this firm asked me to describe the technical-job  with an error (a defect) since he does not rummage in it.

well and I asked broad gulls.
Further?

potkin wrote:

I wrote on WebForm earlier - and there was a same problem, therefore passed on MVC, here such problems I do not watch.

That a problem inveterate you did not give any link.
The test with sleep did not make.
It imho.

35

Re: WebForm vs MVC

potkin wrote:

1) On one launched the report for a floor of year
2) In the second it is processed primary documents - here hangup while the first does not fulfill. [/quote
it is passed...
It  a case instead of the reason.
Candidate solutions:
1. To order the report
2.  the report
3. Async in the code
4. DB tuning
5. Caching
6 .
....
33.....

36

Re: WebForm vs MVC

potkin wrote:

me to describe the technical-job

write it in  chapter 3 - time of the response of the integrated circuit no more than 10 seconds at loading Y = 12345.
Good luck!

37

Re: WebForm vs MVC

potkin wrote:

it is passed...
it is passed...
1) Let's not be called?
2) not my Project.
3) There is an access to a site and I can look as it works, no more.
4) the Director of this firm asked me to describe the technical-job  with an error (defect) since he does not rummage in it.
Once again the reason:
It is necessary to open some tabs of the browser and to them to work:
1) On one launched the report for a floor of year
2) In the second it is processed primary documents - here hangup while the first does not fulfill.
THE ITEM WITH.
I wrote on WebForm earlier - and there was a same problem, therefore passed on MVC, here such problems I do not watch.
The similar project works for me in adjacent firm and such problems are not present, therefore me and asked to describe simply an error to the developer, no more.

sessionState mode Off also check

38

Re: WebForm vs MVC

potkin;
Web.config - <configuration> - <system.web> - <sessionState mode = "Off"/>

39

Re: WebForm vs MVC

Petro123 wrote:

it is passed...
To what this flow of consciousness?

40

Re: WebForm vs MVC

wrote:

to what this flow of consciousness?

to that that  the case above can be not only from for sessions, and still heaps of the reasons.
Logically?

41

Re: WebForm vs MVC

Petro123;
To begin with  to eliminate possible problems with session

42

Re: WebForm vs MVC

Petro123 wrote:

it is passed...
To that that  the case above can be not only from for sessions, and still heaps of the reasons.
Logically?

is not present
Name at least one

43

Re: WebForm vs MVC

wrote:

Petro123;
To begin with  to eliminate possible problems with session

Eliminate)))) LOL.
Comes to two doctors of the patient with the complaint that after yesterday's the head is ill.
One advises to drink aspirin. - it is necessary to drink the second less.
And the third learns the first and the second)). I.e. floods.

44

Re: WebForm vs MVC

Petro123;
You the third?

45

Re: WebForm vs MVC

Isokerf;
Logically you, since you offered nothing to the patient.

46

Re: WebForm vs MVC

skyANA wrote:

Web.config - <configuration> - <system.web> - <sessionState mode = "Off"/>

I receive an error at site loading:

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System. NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request.
Information regarding the origin and location of the exception can be identified using the exception stack trace below.

47

Re: WebForm vs MVC

potkin wrote:

 Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

and?

48

Re: WebForm vs MVC

potkin wrote:

it is passed...
I receive an error at site loading:

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System. NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request.
Information regarding the origin and location of the exception can be identified using the exception stack trace below.

And say that session do not use:-Q
Probably use, time disconnected and reversal to it fell most likely.

49

Re: WebForm vs MVC

potkin;
You on the old site check, truly?

50

Re: WebForm vs MVC

potkin wrote:

 Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Show everything that is deduced below the given line.

Posts [ 26 to 50 of 68 ]

Pages Previous 1 2 3 Next

You must login or register to post a reply



Random topics