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..
Hi! Does Spryker has method to obligatory logout user after some period of time due to security reas
Comments
-
User in Zed or customer in Yves?
0 -
Customer in Yves
0 -
I found variable to logout non-active user and it works
SessionConstants::YVES_SESSION_COOKIE_TIME_TO_LIVE
but Iβm looking to log out user who is active for a long time without loggin in
0 -
I don't think that something like this exists.
0 -
The suggestion is to modify cookie logic not to update it when the customer is active. This way cookie will be active just specified period of time no matter if the customer is active or not.
0 -
The point is that I want to log out non-active user anyway so this part of session logic is still needed
0 -
@valerii.trots btw where I can find this cookie logic?
0 -
PHP will set cookie lifetime to 0 - valid until browser is closed. There is no magic. If you want to change this then you need to change cookie_lifetime settings on your server https://www.php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime
0 -
What i mean is where is the logic in Spryker to logout the user when
YVES_SESSION_COOKIE_TIME_TO_LIVE
expire0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 73 Spryker News
- 911 Developer Corner
- 771 Spryker Development
- 87 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random