public void appendToResponse(WOResponse response, WOContext context) {
// set cookies to remember details
System.out.println("In append to Response pool login: " + session.poolName);
if (savePoolInfo) {
NSTimestamp expires = new NSTimestamp()
.timestampByAddingGregorianUnits(1, 0, 0, 0, 0, 0);
WOCookie poolCookie = new WOCookie("POOL", session.poolName, "/", "192.168.15.106", expires, true);
// WOCookie poolCookie = new WOCookie("POOL", session.poolName);
// poolCookie.setExpires(expires);
// set timeOuts
response.addCookie(poolCookie);
}
super.appendToResponse(response, context);
}
Any ideas?
Thanks,
Jeff