Package com.rimfaxe.webserver.servletapi

Examples of com.rimfaxe.webserver.servletapi.RimfaxeHttpSession


  }

  public synchronized RimfaxeHttpSession getSessionObject(String cookiestr)
  {
   
    RimfaxeHttpSession obj = (RimfaxeHttpSession) hmap.get(cookiestr);
    if (obj!=null)
    {
      if (obj.hasExpired())
      {
        hmap.remove(cookiestr)
        return null
      }
      obj.setLastAccessedTime();
      return obj; 
    }
   
    // Once in a while, do some cleaning up!
    cleanup();
View Full Code Here


   
    Iterator iter = hmap.keySet().iterator();
    while (iter.hasNext())
    {
      String key = (String) iter.next();
      RimfaxeHttpSession test_obj = (RimfaxeHttpSession) hmap.get(key);
      if (test_obj.hasExpired()) hmap.remove(key)
    }
    System.out.println("Size of session store : "+hmap.size());
  }
View Full Code Here

TOP

Related Classes of com.rimfaxe.webserver.servletapi.RimfaxeHttpSession

Copyright © 2018 www.massapicom. 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.