Home > front end >  Windows 2016, after the update page jump, the Session expires
Windows 2016, after the update page jump, the Session expires

Time:09-26

The browser in some browsers, such as cheetahs, QQ browser, the browser compatibility mode 3245
Two pages, in setting the Session, a.a the SPX page jump to b.a SPX page, Session fails, this is how to return a responsibility?

A.a SPX file, there is a link: & lt; A href="https://bbs.csdn.net/topics/b.aspx" & gt; Page B & lt;/a>
A.a SPX. Cs file, use the following statement to set the Session:
The Session (" aaa ")="ABC"

B.a SPX. Cs file, read the Session (" aaa "), the value is null,

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Track the Session. The SessionID, found in a.a SPX and b.a SPX values in different,

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Discovery problem:
1, the code should be no problem, because the two page deployed on the server, there are more than a year, hasn't been a problem,
2, for Windows Server 2016 Server operating system, in December last year, after the update, there is customer response, from a.a SPX page jump to b.a SPX, after the session is missing,
3, after testing, the use of IE, Edge, such as Chrome browser to access all, only the cheetah browser compatibility mode, QQ browser compatibility mode, the Session is missing, access to normal speed mode,
4, the development environment of the unit test, including the cheetah browser compatibility mode, QQ browser compatibility mode, access to completely normal, after preliminary doubt is the server update, the IIS affected,
5, in order to determine the IIS what influenced by which update file, using a virtual machine installed a pure Windows Server 2016,
6, after installing the operating system, the web site directly to the deployment in virtual machine, testing found that including the cheetah browser compatibility mode, QQ browser compatibility mode, access to completely normal,
7, update the virtual machine of Windows Server 2016, and then testing found that cheetah browser compatibility mode, QQ browser compatibility mode, the Session is lost,
8, the virtual machine in the update for three update: KB4537764, KB4520724, KB3199986,
9, uninstall KB4537764, testing found that including the cheetah browser compatibility mode, QQ browser compatibility mode, access to completely normal,
10, on the server uninstall KB4537764, test again, cheetah browser compatibility mode, QQ browser compatibility mode, the Session or missing,
All last December 11, in the server after installing the update all unloading (except KB4520724 unable to uninstall), then test, cheetah browser compatibility mode, QQ browser compatibility mode, the Session is lost,

Excuse me, where is the problem out?

CodePudding user response:

Must update or question, just playing again after unloading may not clean problem

CodePudding user response:

You the operation, make sure no other services or adjusted configuration?

CodePudding user response:

refer to the second floor of freedom and responsibility to
you the operation, make sure no other services or adjusted configuration?


Confirmed, and in a virtual machine can restore operation, must be a problem after the update,
But then modify the program to avoid the phenomenon of the Session is lost

CodePudding user response:

Sessid default is placed in a cookie, open a browser debugger see, sessionid is how to change,

CodePudding user response:

reference 4 floor icoolno1 response:
sessid default is placed in a cookie, open a browser debugger see, how sessionid changed.

Do not check the Session is lost, SessionId,
The final solution is:
Because asp.net to store the Session Cookie name is "asp.net _SessionId," write a manual called "asp.net _SessionId" Cookie, perfect solution,

CodePudding user response:

The pseudo static problems will do?

CodePudding user response:

Should not, because I won't do the pseudo static
  •  Tags:  
  • IIS