Hi
I have this code in a
servlet i undertand that getSession() and getSession(true) will create a session if already not present and return the one if present and getSession(false) will return if session already exists and null if not.
The server for the very first request will append the sessionId both in URL and cookie and later depending up on clients settings either on theURL or cookie only.
But when i ran this code for the very first time it behaved orrectly.isNew() returned true but later when i killed the session through invalidate and restarted the server,cleared the cookies and ran the servlet now once again the isNew() should return true instead it is always returning false.that means the session already exists what actually is happening here.
Thanks