001 package railo.runtime.functions.system; 002 003 import railo.runtime.PageContext; 004 import railo.runtime.PageContextImpl; 005 import railo.runtime.exp.PageException; 006 import railo.runtime.ext.function.Function; 007 008 public class SessionRotate implements Function { 009 010 private static final long serialVersionUID = -114280474937883051L; 011 012 public static String call(PageContext pc) throws PageException { 013 ((PageContextImpl)pc).invalidateUserScopes(true, true); 014 return null; 015 } 016 017 }