What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hey guys I have some questions about session handling in spryker: 1. It feels very strange to acces

U01BLK1U2RY
U01BLK1U2RY Posts: 16 🧑🏻‍🚀 - Cadet
edited October 2020 in Help

Hey guys I have some questions about session handling in spryker:

  1. It feels very strange to access session vars directly, so how would i save things the user session?
  2. is there a hook that is triggered on session invalidation?
  3. is there an easy way of attaching to the logout process?

Comments

  • there should be a client for all of the things you want to achieve. those you can extended (some probably with plugins)

  • for 3. you might want to have a look at CustomerClient::logout()

  • there should also be a session or session storage client for 1.