@@ -0,0 +1,469 @@
+package railo.commons.net;%0A%0Aimport org.apache.commons.httpclient.Cookie;%0A%0Aimport railo.commons.lang.StringUtil;%0Aimport railo.runtime.net.http.ReqRspUtil;%0A%0Apublic class CookieUtil %7B%0A%0A%09public static Cookie toCookie(String domain, String name, String value, String charset) %7B%0A%09%09if(!StringUtil.isAscci(name)) name=ReqRspUtil.encode(name, charset);%0A%09%09if(!StringUtil.isAscci(value)) value=ReqRspUtil.encode(value, charset);%0A%09%09%0A%09%09return new Cookie(domain, name, value);%0A%09%7D%0A%0A%7D%0A

create Tool for central cookie generation