Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assigned.website nu se apeleaza cand avem 2 cookies picked_website #18

Closed
Chocksy opened this issue Aug 20, 2015 · 2 comments
Closed

assigned.website nu se apeleaza cand avem 2 cookies picked_website #18

Chocksy opened this issue Aug 20, 2015 · 2 comments
Labels

Comments

@Chocksy
Copy link
Member

Chocksy commented Aug 20, 2015

Atunci cand ne logam cu un user si avem siteurile se seteaza un cookie picked_website cu o valoarea. Apoi daca iesim din website (logout) si intram cu alt user se seteaza alt picked_website (2 cookies) cu alta valoarea si picked_website nu se mai apeleaza.

Solutie. Atunci cand intram cu un user (login) resetam cookie picked_website (stergem cookie) si apoi lasam codul sa seteze cookie de la sine.

@Chocksy Chocksy added the bug label Aug 20, 2015
@aurelianb
Copy link
Contributor

Nu ar fi o solutie mai ok ca cookie-ul sa fie sters la logout decat la login? De asemenea, ar trebui setat un expiry-time de 14 zile (identic cu cel al cookie-ului de sesiune) cand se seteaza cookie-ul de pickedWebsite.

@Chocksy
Copy link
Member Author

Chocksy commented Aug 21, 2015

@aurelianb merci de comment. E mai bine la logout asa e, astfel ordinea de executie nu conteaza.

@Chocksy Chocksy closed this as completed Aug 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants