2013年10月30日星期三

session timeout

what constitutes 1 .
spent on the page no data exchange is not open other pages

or to remain motionless on the page


2.
container and the project's web.xml web.xml

container web.xml
10

project web, xml
2

running time is two minutes or 10 minutes timeout timeout

3.
session timeout period is calculated from the obtained session started or to be identified as " no operation" time to start calculating ?



------ Solution ------------------------------------ --------
session
personal feeling is generated after the start timing it. .
Because the default landing landing CSDN checked , even though every day I landed . .
will be dropped each week are also asked me to login again
------ Solution ----------------------- ---------------------

landlord mainly two issues,
1, the project's configuration will overwrite the configuration of the container will go first to the project's configuration , the configuration can not find the will to find a container , so the project shall prevail.
2, session of extended , in front of the background is the interaction between the two. Send a request to the server each time , it will update the session time ; tomcat of extended , there is a dedicated scanning thread to check if the current time - last access time < timeout period , even overtime . So you dangling inside pages are not affected, ha ha !
------ Solution ---------------------------------------- ----
page does not and backstage interaction , session will expire. What is the meaning web.xml container ? A project is not on a web.xml do ? General items , you are two minutes that the configuration expired .
1 House said it was cookie
------ Solution ----------------------------- ---------------
session timeout time is " no operation" time to start calculating
or it can be understood as
From start to create session , if there is , then the operation , session timeout re-timing
------ Solution -------------------- ------------------------

cookie corresponds to what ?
party will fail seemingly fail . .
------ Solution ---------------------------------------- ----
page does not and backstage interaction , session will expire. What is the meaning web.xml container ? A project is not on a web.xml do ? General items , you are two minutes that the configuration expired .
------ For reference only -------------------------------------- -

cookie corresponds to what ?   
party will fail seemingly fail . . [/ quo I feel you say is a cookie     
------ For reference only ---------------------------------- -----

cookie corresponds to what ?   
party will fail seemingly fail . .  

CSDN COOKIE should first read the information required to log in again after a week , whether the person judged to cookie- expire direct landing . session and cookie failure will result in failure . However, the session CSDN seemingly very long time . Taobao such as a kung fu session on the failure , the need to re-login
------ For reference only ----------------------- ----------------
Thank you upstairs cattle
session timer when it is created , there is interaction on the re- timing , time is up for overtime , to be posted will bear
------ For reference only ---------------------------------------
agree to the 9th floor of argument, in the state does not operate under the accounting when changes re-timing
------ For reference only ------------------------- --------------
landlord to solve the problem in relation to knot posted !
------ For reference only -------------------------------------- -
session is created on the timing , there is interaction on the re- timing , time is up for overtime ,
------ For reference only ----------------- ----------------------
session is never broken operation began.
a request-response starts timing

没有评论:

发表评论