dcsimg

Why is my cookie is expiring before the time set using the Cookie.setMaxAge method?

Matthew Dornquast

Chances are you have an "=" char in the value of your cookie. Make sure you URL encode the value of your cookie before setting it.