Hi!
How to get the event on the server side before the login event.
Thanks for help!
SFS2X Handshake
Re: SFS2X Handshake
Hi,
there are no events before login because a client is not allowed to send any request before he's actually logged in a Zone.
Hope it helps
there are no events before login because a client is not allowed to send any request before he's actually logged in a Zone.
Hope it helps
Re: SFS2X Handshake
How can I make sure that the login event does not come?
So that the session opens and immediately closes?
How to access the user's session before the login event?
I want to do my checking and depending on the result or close the session or let the user log in.
So that the session opens and immediately closes?
How to access the user's session before the login event?
I want to do my checking and depending on the result or close the session or let the user log in.
Re: SFS2X Handshake
How can I make sure that the login event does not come? So that the session opens and immediately closes?
I am not sure what this means?
If a connection opens and closes immediately the client will not be able to send anything and therefore there's not much you can from the server side.
How to access the user's session before the login event?
You don't.
SmartFoxServer security does not allow a client to send any request other than login, at that stage.
I want to do my checking and depending on the result or close the session or let the user log in.
This is already done by the server for you.
I am not sure what do you want to add that is not already there.
Can you explain your use case?
Thanks
Who is online
Users browsing this forum: No registered users and 106 guests