Using the log


        this_session[2]=the_name.trim();
        log("the name is "+this_session[2]);  //Added to sessionServlet 
        req.setAttribute("thename", this_session[2]);
        

session.log

The instance was destroyed at :Sun Apr 09 08:24:54 CDT 2017 The instance was destroyed at :Sun Apr 09 08:25:54 CDT 2017 The instance was destroyed at :Tue Apr 11 16:06:43 CDT 2017 The instance was destroyed at :Tue Apr 11 16:09:24 CDT 2017 The instance was destroyed at :Wed Apr 12 07:37:25 CDT 2017 The instance was destroyed at :Tue Apr 18 14:37:47 CDT 2017 The instance was destroyed at :Tue Apr 18 14:38:07 CDT 2017 The instance was destroyed at :Sun Apr 23 12:37:43 CDT 2017 the name is Joe Tester at :Sun Apr 23 12:38:22 CDT 2017