changing no date to be session cookie