Home > front end >  There is no
There is no

Time:12-15

The session object and application objects make what is the difference between the timer

CodePudding user response:

what language?

CodePudding user response:

The
reference 1/f, street vendors reply:
what language?
Javaweb

CodePudding user response:

Session is a conversation scope, the application is the application scope, if you want to use the application at all to see the counter just a session if the count results using the session

CodePudding user response:

An application is only one application scope, all men to access application is within the scope of value, example: website domain name, the name

Multiple requests (before the session not expired) share the same session scope. Example: I visit your web site and access for the first time the server will assign a session for me, I'm from one page to another page, as long as I use within the validity period of the session is the same session, the session default is 30 minutes, you can set it to less than 30 or more than 30

CodePudding user response:

Since the session only exists in the server, so there is a problem in the cluster, how to share it between the clusters, of course, there are solutions, set up: you have three servers to form a cluster, when I visit a connection request from the cluster the SRV - 01, I from a link to jump to b, but b connection is accepted by the SRV - 03,

So think of the future may change from one server to a cluster, the program design in general is not in session now preserved value, can use a cookie, or by the middle of the certification authority to take over, you can also use the redis this memory libraries

CodePudding user response:

I want to do a product review
But don't know how to design the database
Consult everybody bosses

CodePudding user response:

The
refer to 6th floor Virgo chemistry boys response:
I want to do a product review
But don't know how to design the database
Consult everybody bosses provide ideas

More than what you know about the demand (for which) you wrote, or look to the existing relevant people how to do, can't find myself think about if you are critics need some what
  • Related