- Member | 3
Hello! I decided to create a first draft on Nette Framework and faced with the following question. How to finish the session of a certain user in admin's dashboard? I know that logout() method terminates the current user session, which is contained in the Identity. Thanks in advance.
- Member | 58
you would have to know session id of every user and store it somewhere (bye
default it's saved only in cookie, so you can't access it from server unless
request is from logged in user you wish to reset session)
and then you would be able just to delete that key from session storage directly, it's a hacky approach.
You shouldn't be using something like that IMHO. Why do you need that?