Hello Team,

I'd rather to build an application wich allows only one connection per user. During login/password checking all other connections for specified login have to be disconnected (expired).

Can I also get an active session list and send expiration signal to other session? ( like http://formspideronline.com/formspider/main.html?name=DemoMain#DemoSessionTimeout or alter system kill session).

Best regards, Andrew

asked 19 Feb '15, 04:36

Andrew%20Pouckatch's gravatar image

Andrew Pouck...
1611
accept rate: 0%


Hi Andrew,

There is not an API which returns the active session list. However, you can build your own session list by holding the session ids (api_session.getID) in a database table whenever a user is logged in/ authenticated. You can remove this session from the list in Application close and session expired events. Additionally, you can send expiration signal to a specific session using api_session.close by specifying the session id to be closed.

Hope this helps,
Ibrahim

link

answered 21 Feb '15, 10:44

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×16
×3

Asked: 19 Feb '15, 04:36

Seen: 786 times

Last updated: 21 Feb '15, 10:44


© Copyright Gerger 2017