Monday 31 January 2011

Sessions

//Understanding sessions..

HttpSession session = request.getSession (true);
if (session.isNew() == false) {
session.invalidate();
session = request.getSession(true);
}

No comments:

Post a Comment