java - How does a tomcat server identify clients for creating session id -
i need learn how tomcat server identify different hosts create unique sessions. according ip ?
based on answer question, want able create multiple sessions single client, on server uses httpservletrequest.getsession()
create new sessions. possible give predefined session id server, that server creates new session bound session id ?
it doesn't identification. each time request comes in , ask session created, creates one. generated session id sent browser in cookie, , browser sends cookie subsequent requests, allows tomcat find associated session.
i can't understand you're trying achieve. session doesn't identify server. identifies specific client of web app. each client has own session id. assigning session id server doesn't make sense me.
Comments
Post a Comment