I am using cookie in a page to record the user's input in a form. After the user login, i want to automatically fill in the form by using their old cookie.
Basically, i want to record some cookies, and let user login, and output the cookies.
In the first page, I set the cookies, however, after I redirect with
window.location.href
My cookies just recorded are set to null/deleted automatically.
Any ideas?
Thanks