Hi Dimuth,

>>    -
>>
>>    What is the best way to handle new session request when maximum
>>    allowed session limit is 1?
>>    -
>>
>>       If there is a session, close that session and create a new session.
>>       -
>>
>>       Notify the user about the existing session and ask to end that
>>       manually if he want to create a new session.
>>
>>
IMHO, I think both of these proposed methods are not suitable. Instead what
if we notify the user about the limitation on active sessions and ask for
the consent to close the existing session from our end? Closing the session
manually by the user could be a hassle for him especially if it was another
device. We can just invalidate the session from our end without much
effort. WDYT?

​Thanks,
Vihanga.​

-- 

Vihanga Liyanage

Software Engineer | WS*O₂* Inc.

M : +*94710124103* | http://wso2.com

[image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to