Ensure a new session every time the user connects to a Servlet
- by Daziplqa
Hi,
I've a JSP/Servlet Web App that consist of more than one servlet (and some JSPs)
I need to create an new HttpSession whenever the users access servlet A, knowing that, servlet A is the home page (i.e. he access it as the first servlet/page in the application)
so far so good, I can write the following code at the start of the servlet A:
…