Commit bc7abbef by Patryk Czarnik

Usunięcie wygasania sesji.

parent d5772c19
......@@ -18,14 +18,14 @@ public class BasketConfig {
@Override
public void sessionCreated(HttpSessionEvent se) {
HttpSession session = se.getSession();
session.setMaxInactiveInterval(60);
// session.setMaxInactiveInterval(60);
session.setAttribute("basket", new Basket());
System.out.println("Początek sesji " + session.getId());
// System.out.println("Początek sesji " + session.getId());
}
@Override
public void sessionDestroyed(HttpSessionEvent se) {
System.out.println("Koniec sesji " + se.getSession().getId());
// System.out.println("Koniec sesji " + se.getSession().getId());
}
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment