Package freenet.clients.http.SessionManager

Examples of freenet.clients.http.SessionManager.Session.removeAttribute()


   *            The Sone to set as currently logged in
   */
  public void setCurrentSone(ToadletContext toadletContext, Sone sone) {
    Session session = getCurrentSession(toadletContext);
    if (sone == null) {
      session.removeAttribute("Sone.CurrentSone");
    } else {
      session.setAttribute("Sone.CurrentSone", sone.getId());
    }
  }

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.