Concurrent User Sessions in Sharepoint2010 FBA site

Hi All,
How do i Restrict concurrent sessions for a single user - SharePoint 2010, its FBA authenticated site.
Currently i am Using a Application variable that stores User and IP and the array is cleared on sign out and session timeout.
We are unable to track the session time out easily, i have a httphandler that redirects to Homepage i am clearing the Application variable in the httphandler but i get the object as Null in debug mode.
I need to implement the same on Window close button click as well to clear the application variable.
As of now the code is working partially. Any suggestions to do it in a better way or it is not possible in SharePoint to track session start and end and restrict user to have a single session. Any help would be greatly appreciated.
Thanks in Advance
Regards

hi
it is impossible to do reliably, this question is raised from time to time. Also I recommend you to double check your architecture: by restricting concurrent user sessions you play against web rules which in most cases is caused by fundamental problem of
the architecture. Your solution with app variable will work only on all-in-one server, on farm it won't work for example. So I suggest to check architecture instead of continue working in this direction.
Blog - http://sadomovalex.blogspot.com
Dynamic CAML queries via C# - http://camlex.codeplex.com

Similar Messages

  • Concurrent user sessions

    I want to restrict concurrent user sessions to one in weblogic server console. we are using OBIEE 11.1.1.5.
    At a given point of time the user should have only one login session. if user logs in through other computer, his/her previous session should logoff.
    Is there any way to do this other than using OAM/OID?

    hi
    it is impossible to do reliably, this question is raised from time to time. Also I recommend you to double check your architecture: by restricting concurrent user sessions you play against web rules which in most cases is caused by fundamental problem of
    the architecture. Your solution with app variable will work only on all-in-one server, on farm it won't work for example. So I suggest to check architecture instead of continue working in this direction.
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

  • Maximum Number of Concurrent User Sessions Limit?

    Please can you tell me if there is a limit for the maximum number of concurrent users sessions that can access the Portal? If so, where is the setting and how do I change it?
    By the way, I am not experiencing any issues; I am asking purely for information purposes
    Thanks.

    There used to be under one of the services in service configuration.  I thought it was under portal runtime, but I can´t see it now.  It mentioned it in the TZTEP1 course, but I haven´t got it with me.
    Having said that, I don´t know if it worked!
    Paul

  • How to accept more concurrent user sessions

    Hi all,
    Which parameters are directly responsible for number of user
    sessions.Precisely which parameters are to change to accept more number of
    users sessions.If you could suggest some value for those parameter to
    accept 1000 user sessions ..it would be helpful.
    regds,
    AD

    Hi,
    PROCESSES = User processes
    SESSIONS = Max no. of user and system sessions
    TRANSACTIONS = Max. number of concurrent active transactions
    These parameters should change in init.ora
    Regds,
    Thomas.

  • Concurrent users sessions from same machine issue

    Hi there
    We have 10.1.2 OIM environment and SSO. We are running reports from Oracle portal.
    The issue is that when I have multiple users sign on on same machnie and running user id specific reports - all users see report from last login users.
    Each user has owne IE or Firefox browser window.
    It looks that cookie that contains SSO authenticated information is shared between multiple browser sessions. How can we control cookie to work only within one browser not for the other web browser sessions.
    The same issue exists even when we go SSO - Portal - Forms - Reports.

    If I open two different browsers (e.g. Firefox and IE) those browsers don't know about each other. No session sharing happens automatically.
    Theoretically you could use the user's IP address for session tracking. But that will fail miserably for users who come from the same IP address, e.g. through a NAT firewall.
    I don't think you can fill that requirementreliably & without breaking something.

  • ISE limitation for concurrent user (same user)

    Dears,
    I have cisco ISE 3355 version 2.0.4.018 my question is how can I limit the authenticated user to access only two devices by his username and password.
    where I have cisco ISE integrated with AD for internal employee that access internal SSID and I need to limit employee access for two devices only (PC and Phone)
    So anyone can help me??
    Regards,                  

    The current ISE release 1.1 doesn't have a feature that allows to limit of concurrent user sessions (either Guests or regular 802.1x users) as the ACS 5.3/5.4 does. However, I guess this feature is scheduled for release, ISE 1.2
    Jatin Katyal
    - Do rate helpful posts -

  • Limit Concurrent Users

    Hello,
    Is there a way on EP6 to limit concurrent user sessions.  For example, user "JoeSmith" is not able to logon to more than 2 session of the Portal.
    We are running EP6 Patch4.
    thanks,
    Harman

    Interesting thought. I guess if there is way, it has to be thru the authentication module. So IMO write a new JAAS module for authentication and before you authenticate the user, apply your criterion and if successful log the user in.
    This is would be all custom code. I don't think there is a out of the box way available.
    Pankaj

  • How to find out number of concurrent users  connectd to a site?

    I would like to find out the number of concurrent users on my site. What is the best way to do it?
    This is how I implement it currently:
    I have a HashSet object in the session. whenever a user visits the page, i added the user's sessionID to the HashSet. But when a user leaves my page, it won't inform my jsp pages. The only thing I can do now is whenever I add a new sessionID, I loop through the HashSet and check to see which sessionID is invalid or inactive, then remove the it. Does a user session becomes invalid immediately when the user leaves the page, or it has to wait till it times out?
    Are there any other more efficient ways of doing it?

    Look at HttpSessionBindingListener. That will let you do what you want to, correctly.
    User session will time not. If it were to become invalid immediately, it won't be called a "session" would it?

  • Load balancing and clustering for SQL SERVER ANALYSIS SERVER instances to access large number of concurrent users for bi site

    HI
    how to do analysis server clustering 
    we have sharepoint bi site and we published many dashboards pointers ,filters kpis 
    and at a time some 200 to 300 concurrent users access these dashboards pages
    so for maintain this requirement how we apply clustering for ssas intances 
    and also it has load balancing 
    adil

    Hi Adil,
    According to your description, you want to implement SQL Server Analysis Services Clusster and Analysis Services Load Balancing, right?
    In SSAS, we can design highly available solutions in Analysis Services by using: network load balancing (NLB) technologies, failover clustering technologies, or both. For the details about implemention, please refer to the links below.
    http://msdn.microsoft.com/en-us/library/dn736073.aspx
    http://sqlsrvanalysissrvcs.codeplex.com/wikipage?title=Analysis%20Services%20Load%20Balancing
    http://technet.microsoft.com/en-us/library/bb500217(v=sql.105).aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • If i open same url in same browser without making signout in SharePoint FBA site, it login user again automatically which should not happened

    Hi All.
    I have SharePoint 2010 FBA site, and when user close there browser without logout button and if they enter same url in browser then it allow user to login on application which is security risk.
    So can you please help me to solve this problem.
    Thanks
    Ajit Shinde

    Hi Ajit,
    See this similar thread (with answers):
    https://social.technet.microsoft.com/Forums/en-US/5bf1dfdf-cc1c-422c-9c25-094fc7aaad61/user-details-retained-if-user-does-not-signout-and-closes-the-browser-and-opens-page-again?forum=sharepointgeneralprevious
    Nico Martens
    SharePoint/Office365/Azure Consultant

  • Restrict concurrent user and/or session from a client

    Hi All:
    We have an application with database Oracle 10g.
    I want to add a new validation to restrict concurrent user and/or session from a client. (we have almost 60 client firms using the software to enter daily trasnactions).
    All users from all clients are connecting to the database using a common functional ID.
    What I did was:
    1) Add a column 'user_logged_in' in the master table for client and update it as Y when user from that client logged on to the system,
    2) Insert the application logon details (we can figure out the client details from this) into a global temp table,
    3) Create a logoff trigger to update the 'user_logged_in'flag in client master table by using values from global temp table when session logged off and
    4) Restrict the users from same client if the flag is 'Y'
    But the problem in this case is logoff trigger will not be executed in case if the session got killed or terminated abnormally.
    Is there any other good solution for this scenario?
    Thanks
    Robin

    >
    But the problem in this case is logoff trigger will not be executed in case if the session got killed or terminated abnormally.
    Is there any other good solution for this scenario?
    >
    A better question might be - is there any other 'worse' solution than that?
    >
    2) Insert the application logon details (we can figure out the client details from this) into a global temp table,
    >
    Meaning - if that session goes down you have NO logon details since the data isn't persistent. Is that really useful?
    There is nothing you can do to account for someone just pulling the plug on: the server, the network connection, the bridge, the router, etc. And if a user is connected, starts a long-running process and then gets disconnected the process is likely to keep running in the background until Oracle needs to talk to the user again and then realizes that they are gone.
    Meanwhile the user is trying to logon again but can't because the system thinks they are already logged on.
    >
    All users from all clients are connecting to the database using a common functional ID.
    >
    Doesn't that kind of make it harder, not easier, to track who is really connecting and using your application?

  • Mounting the same VHDX from 2 simultaneous user sessions?

    Hi,
    I need to mount the same VHD or VHDX file from 2 different user sessions. My file is BitLocker-encrypted, NTFS-formatted (I can reformat to an other filesystem if needed). It resides on a network location, a samba share. My scenario is the following:
    user #1 logs on and mounts the VHDX file, is prompted for the password
    user #2 logs on and mounts the same VHDX file, is also prompted for the password
    Is it possible? Both users read/write to the VHDX concurrently. Do VHDX/BitLocker/NTFS support this?
    If that doesn't work and if you have any alternate option/approach, please let me know. The VHD/VHDX file holds sensitive data, and is backed up on a regular basis.
    Thank you!

    Hi,
    Please see the detailed steps mentioned in the following link, it is possible to auto-mount the VHD at startup\logon, but since you have enabled bitlocker, so it's recommended to add a time delay on the task scheduler or script\batch file to first unlock
    the bitlocker, then mount the file
    http://www.eightforums.com/tutorials/20342-vhd-auto-mount-startup-windows-8-a.html
    NOTE
    This
    response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft
    does not control these sites and has not tested any software or information found on these sites.
    Yolanda Zhu
    TechNet Community Support

  • Trying to determine costs per concurrent user

    I have tried to investigate the services and theirs costs as well as I can and tried to get help. However I have very little experience with hosting and databases so after all this research I'm left with a bunch of questions.
    Forgive me if this is too many for this kind of forum, if so, could you please refer me to where I can learn more?
    We're developing a multiplayer browser game in Unity3D. The game will communicate with a SQL database. I'm trying to determine how much it will cost me per Monthly Active User (MAU) and per Concurrent User (CCU). To do so I need some things clarified. In order
    to determine which feature will be the most limiting and therefore define which performance level I need.
    They will on average communicate with the database app. two times a minute (defined as two queries per minute). Does this mean that I need a transaction rate of at least two per CCU?
    How fast can you open and close a session? I'm trying to figure out whether I need to have one session open constantly per user connected to the game. If so, I suppose max sessions would be equal to CCU?
    If I need more CCU than one database of a given performance level supports can I then just subscribe for more databases which will then automatically become copies of one another and you will divide users between the databases automatically?
    As I understand your description of your database services through Basic, Standard and Premium, the database will be able to work independently of additional webhosting. However then I do not understand why there is no info in regards to bandwith limitations.
    Do I need your webhosting services along with subscribing for the database? Then I suppose the bandwith limitations of the webhosting applies for the database as well?
    In regards to the webhosting, besides for maybe handling the database, the website's by far most demanding service will be to allow users to download a game of max 30 MB. How can I estimate how many users will be able to download simoultaneously from a given
    VM instance, e.g. basic 1?
    If the database depends on this website for communication to the game, how can I then estimate how demanding that will be to the power of a given VM instance?
    I realise that some of these questions may be difficult to give precise answers to but any help with getting closer to an answer is highly appreciated.

    This is by no means accurate and complete, but will give you an idea about how to go about doing estimates:
    First you need to know what database tier you need: basic, standard or premium.
    The tier you need depends on the processing power you need, and directly relates to the number of concurrent users you have at any given time and the processing requirement of the database.
    You can determine this only after you do some benchmarking of your app.
    Supposed you have 100 users and you need basic tier S0, then cost per user will be (cost for S0)/100.
    Then you need cost for your web service/site.
    Again you need to know how powerful it needs to be.
    You can determine this only after you do some benchmarking of your app.
    Again supposed you need a A3 then cost per user will be (cost of A3)/100.
    Then you need cost for data transfer from your web service to your user.
    Supposed every data transfer is 10K, then you have 20K/min.
    Supposed a user stays in your game for an hour, then you have 1.2M/user/session.
    Supposed the user plays 10 times/month, then you have 12M/user per month. Then you can calculate the cost per user.
    I suppose you can safely assume that bandwidth is not a limitation in Azure for your app for the moment.
    Frank

  • Number of concurrent users

    how can I find the number of concurrent users in oracle 10g;
    thank you

    You mean ACTIVE users ??
    Use following script :
    active.sql
    set pagesize 120
    set linesize 150
    select username, count(*) from v$session where status = 'ACTIVE'
    group by username;
    column spid format a5
    column sid format 9999
    column serial# format 999999
    column username format A9
    column schemaname format A8
    column osuser format a20
    column machine format a15
    column logondate format a15
    column terminal format a10
    column status format a10
    column module format a25
    select a.sid, a.serial#, b.spid,
    --a.process,
    a.username,
    to_char(a.logon_time,'DD-MM HH24:MI:SS') LogonDate, a.osuser, a.machine, a.status, a.module
    from v$session a, v$process b where a.paddr = b.addr
    and a.status = 'ACTIVE' and a.username is not null
    order by 9;
    --order by b.spid;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Limit the number of concurrent users

    Is it possible to limit the number of concurrent users for the application in Websphere or at the http management level?

    You don't say what version of Websphere you are using, but here's how you might limit the number of sessions in Websphere 4.0 Advanced Edition (other versions may differ):
    Open the Administrative Console. Go down the tree to Nodes, Application Servers and click on the server you want to control (likely Default Server). In the right panel, click on the Services tab. In that panel, click on the Session Manager Service and click the Properties button. That pops up a new dialog.
    Select the Advanced tab here. Put a number in the Maximum in-memory Session Count field and uncheck the Allow Overflow checkbox. Click OK, etc, etc, and you'll probably have to restart Websphere.
    I said "might" because I don't know if this will do what you want or not. Read the help file associated with that dialog and judge for yourself.

Maybe you are looking for

  • Installing Oracle 10g XE cabinet file error

    I'ven been trying to install XE (production-version) on my PC, after removing the beta version first. I receive the following message during installation: ERROR 1335. The cabinet file 'Data1.cab' required for this installation is corrupt and cannot b

  • Critical process died

    I have a custom built hp envy sleekbook. It froze in the middle of playing saints row 2 about a week after a new windows update to 8.1. I have never had my laptop freeze to a point that restarting couldn't fix it. It keeps saying critical process die

  • Fix for Fusion 6 on update to 10.2.2 if Firewalled

    Happened to me, passing along if this happens to another. Fusion 6 was running fine on 10.1.1. After updating to 10.2.2 Extensis Suitcase Fusion 6.0 failed to run (errors included: '...could not open the font vault"; "could not open the font vault at

  • Nbound Idoc Status 64

    Hi experts, Im facing diffuculty to find out why some IDocs are in status 64 on the system. If it is re-processed individually, it will be successful. But as a bulk, the status will be in 64. I checked the settings too. It is in "trigger Idoc immedia

  • 8330 Modem speed(s)

    When using the 8330 as a tethered modem on an Alltel network running at 1X, what is the max speed of the modem? What speed should I expect on one in New Mexico---Santa Fe? What is the difference in speed between an Alltel "air card" and the BB? Where