Using the same cookie in two logins

Posted by cer9ss on Stack Overflow See other posts from Stack Overflow or by cer9ss
Published on 2010-05-25T19:08:43Z Indexed on 2010/05/25 19:11 UTC
Read the original article Hit count: 137

Filed under:

Hi everyone, I need your help

I've a MVC project that uses Jquery, where I've implemented a mechanism of "Remember Me" using cookies to save, clear and retrieve the login and password.

I also have two screens where the user does the login. I want that both logins manipulate the same cookie. I've got to implement it, but I've realized that each one has a different behaviour. I mean, the cookie's value I save in the first login is not the same than the value that retrieves the second login (when I open it). In other words, if I mark "remind me" on the first login, it isn't reflected on the second login and viceversa. What can I do to make that both of them manipulate and read the same values from the same cookie? Is it possible?

PS: For this situations I'm using the same web navigator: Firefox or IE.

Thanks in advance

© Stack Overflow or respective owner

Related posts about jQuery