getcookie is needed in this file.