You are not logged in.
Pages: 1
Stupid me, just use BinToBase64 and Base64ToBin instead, working fine now.
I have been using the function Base64Encode, but with the mORMot's latest built it's not accessible anymore. I would appreciate any suggestion.
It's really nice of you, ab.
At first I was going to learn more and try what the framework already amazingly has.
However, I think it could be helpful for some other developers with the similar needs.
I, therefore, just submitted a feature request ticket [0aa979de90097bbb030633df2e6c0c4a4e4037c8].
In order to manipulate/manage users on a server, I proposed for a property and a method on TSQLRestServer.
1. Add a read-only property, Sessions, to list all active sessions with their session's properties,
such as UserName, SessionId, Private Key, etc.
2. Add a method to close a particular session on the Sessions list.
Parameter(s) used could be the corresponding SessionId and/or Private Key.
Please feel free to modify, add, or correct any parts of the request.
Thanks a whole bunch! ab, and please forgive me for mistakes, if any.
Thanks, ab. I will try that.
Just to mention, my son, a c# programmer, is now also learning your mORMot.
We are now working together on a project. MORMot is really amazing!
Hi, ab (and the mORMot community fellows), thanks for your hard work.
I have been testing your framework on my online project.
I'm impressed (even though more to learn).
Now, I have a small problem.
Suppose that a user has logged in. And a few minutes later, another user logins with the same name.
If I want to kill the session created for the first person so that he/she is kicked out and no longer able to access the server.
How do I do that?
Edited:
Still waiting for advices. May be my intension was not clear.
All this is to prevent a group of users logging in with the same login simultaneously.
I could reject a duplicate login using OnSessionCreate which returns true.
But the objective is to kick out the already logged-in one.
Pages: 1