there are two opinion about this.
- if we disable the cookie,server will create session and rewrite the url like this (http://localhost/login.jsp;jsessionid=07D00E8942B11CA1063735D38B4554DF) to track the request session;
- if cookie is enable,server will create session and set the response head(Set-Cookie:JSESSIONID=07D00E8942B11CA1063735D38B4554DF).
In opinion 1,when the server receive the request, it resolve the jsessionid,and create an session(I'm not sure that this session is created here)
Now ,I enable the cookie, and delete all explorer's cookie request the url I mentioned .I guess that the session id is passed in the url .but,the server create a new session and the id is different.
so,I'm confuse that when the server will create a new session.Can we control the behavior of session creation?