use getcreatedFromCookie