Jump to content

Recommended Posts

Posted

Hello, is there any way to capture invalid session and send a custom response to client?

In my server i need to terminate some sessions that must not automatically reload to main page when I kill them, but I want that if I restart server, and invalid session occurs, all clients automatically reload.

Thanks

Jordi

Posted
5 hours ago, jmonty77 said:

Hello, is there any way to capture invalid session and send a custom response to client?

In my server i need to terminate some sessions that must not automatically reload to main page when I kill them, but I want that if I restart server, and invalid session occurs, all clients automatically reload.

Hello,

Can you please clarify your question? 

Posted

Hello,

uniServer has "restartsessionontimeout" option, but from server side I want to kill some sessions with SessionManager.Sessions.PurgeSessionById, and I don't want this sessions restart.

 

Posted

He can launch the application later reloading the page manually, or clicking in "restart application", but If I kill his current session I don't want he can reenter in my system automatically.

But If I disable "restartsessionontimeout", then if I must restart server, I lose all my clients until users manually start new session.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...