C
Cecil Westerhof
Is it possible to end a session a from another session b, if I know the
SessionID from a?
SessionID from a?
Cecil said:Is it possible to end a session a from another session b, if I know
the SessionID from a?
Patrice said:Not easily. Having the whole picture may yield to better suggestions. Why
do
you want to do that ?
Patrice said:Another option would be to terminate the previous session when a new one
is
opened. This way in case of a crash a user is able to log again without
any
admin action.
The downside is that if a second session is opened inadvertentely, this is
the session for the first user that will be terminated (see if this is a
problem in your case or if each user is really using its own single
login).
Whatever option you choose, you can't terminate a session from another
one.
The only option I see is to check that the session is valid before
processing each HTTP request (for example by recording the current
SessionID
for each login allwoing to end a request that would not use the good one).
Cecil Westerhof said:Is it possible to end a session a from another session b, if I know the
SessionID from a?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.