Inhalte aufrufen

Profilbild

The .Smart.Visitor cookie does not change after logout


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
4 Antworten zu diesem Thema

#1 netroskop

netroskop

    Member

  • Members
  • PunktPunkt
  • 20 Beiträge

Geschrieben: 29 March 2023 - 06:17

The problem goes like this. When a new user comes to the site, a record is created in the customer table. And a cookie named .Smart.Visitor is kept with the value of CustomerGuid.

 

The user registers to the site and registers with the same CustomerGuid. Normally, when this user logs out, a new registration and customerguid is required, but a new guid is not created. Therefore the session hangs.

 

 
The user can neither log out nor create a new record. Cookie cleaning remains the only solution, but not every user knows this.
 
I haven't made any changes to the IdendityController. The problem occurs both on the server and on the local.


#2 stefanmueller

stefanmueller

    SmartStore AG

  • Administrators
  • 459 Beiträge

Geschrieben: 04 April 2023 - 11:43

Hi netroskop. Perhaps you could add that as a feature request on our github? As there is no issue now:

 

https://github.com/s...is:issue cookie


Stefan


#3 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3799 Beiträge

Geschrieben: 04 April 2023 - 14:58

 

Normally, when this user logs out, a new registration and customerguid is required

 

 

Why does the user have to register again? If he has logged out, he can simply log in again with the existing credentials.


Marcus Gesing

Smartstore AG


#4 netroskop

netroskop

    Member

  • Members
  • PunktPunkt
  • 20 Beiträge

Geschrieben: 05 April 2023 - 14:22

The situation goes like this. The user logs in to the system. He then tries to log out. But he can't log out. Because the session hangs. I shared the details in the video.

 

https://user-images....70d128cbfa5.mp4



#5 stefanmueller

stefanmueller

    SmartStore AG

  • Administrators
  • 459 Beiträge

Geschrieben: 07 April 2023 - 16:05

(Update. There is an issue now at https://github.com/s...tore/issues/647 )

 

Thanks @netroskp for providing this, with video!


Stefan