001    package railo.runtime.type.scope;
002    
003    import railo.runtime.type.Collection;
004    
005    
006    /**
007     * 
008     */
009    public interface Session extends Scope,UserScope {
010        /**
011         * @return returns the last acces to this session scope
012         * @deprecated 
013         */
014        public abstract long getLastAccess();
015    
016        /**
017         * @return returns the actuell timespan of the session
018         * @deprecated 
019         */
020        public abstract long getTimeSpan();
021        
022    
023            public long getCreated();
024    
025    
026        /**
027         * @return is the scope expired or not
028         */
029        public abstract boolean isExpired();
030    
031            /**
032             * sets the last access timestamp to now
033             */
034            public abstract void touch();
035            
036            public int _getId();
037    
038            /**
039             * @return all keys except the readpnly ones (cfid,cftoken,hitcount,lastvisit ...)
040             */
041            public abstract Collection.Key[] pureKeys();
042    
043    }