|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
restrict number of usersIs there a best practice way to restrict a web page to only one user at a
time? This is for a business page that is not used often and would be best if only one person at a time was allowed to access it. Using vb.net version 3.5. Can be accessed from both Intranet and Internet. Thanks "Gerhard" <Gerhard@community.nospam> wrote in message No - the web simply isn't designed to work this way...news:C1B3E9A6-1EC6-4E57-921F-795CFED6A43E@microsoft.com... > Is there a best practice way to restrict a web page to only one user at a > time? E.g. you could set an Application variable when the page loads, but how are you going to know when the user has left that page? They might simply pull the electricity plug out of the back of their computer and you'd be left with a page which no-one could access... My advice to you would be that if you're even contemplating something like this there is something seriously wrong with the design of your web application... Hi,
I am sendu an recruiter from E*pro. Nice to have a glance every day in this community and its people. Happy to observe its concept and postings. I am working with a recruiting firm and recruiting people in various IT,Accounting,ITES and other domains. I need updated resume from people in Various parts of US. I can help them in getting a better oppurtinity in any field of their aspiration. Mail ur updated CV to: nse***@eprocorp.com Warm Regards, N.Sendu. E*pro. Hi Gerhard,
>Is there a best practice way to restrict a web page to only one user at a I agree with Mark. What I want to supplement is, if you have to do so an >time? This is for a business page that is not used often and would be best >if only one person at a time was allowed to access it. Using vb.net version >3.5. Can be accessed from both Intranet and Internet. option is to use membership and use this method to get the approximate number of online users. Membership.GetNumberOfUsersOnline() You can check it at the begining and redirect user to another page telling him to wait, if the value is 1. This is the simplest option. If a user is inactive for 15 mins (by default), he is not recognized as online user. Therefore another user can access the page. Please let me know if this can solve this issue. Regards, Allen Chen Microsoft Online Support Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msd***@microsoft.com. ================================================== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications. Note: MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 2 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. Thanks to all of you. This was very helpful.
Show quoteHide quote "Allen Chen [MSFT]" wrote: > Hi Gerhard, > > >Is there a best practice way to restrict a web page to only one user at a > >time? This is for a business page that is not used often and would be > best > >if only one person at a time was allowed to access it. Using vb.net > version > >3.5. Can be accessed from both Intranet and Internet. > > I agree with Mark. What I want to supplement is, if you have to do so an > option is to use membership and use this method to get the approximate > number of online users. > > Membership.GetNumberOfUsersOnline() > > You can check it at the begining and redirect user to another page telling > him to wait, if the value is 1. This is the simplest option. If a user is > inactive for 15 mins (by default), he is not recognized as online user. > Therefore another user can access the page. > > Please let me know if this can solve this issue. > > Regards, > Allen Chen > Microsoft Online Support > > Delighting our customers is our #1 priority. We welcome your comments and > suggestions about how we can improve the support we provide to you. Please > feel free to let my manager know what you think of the level of service > provided. You can send feedback directly to my manager at: > msd***@microsoft.com. > > ================================================== > Get notification to my posts through email? Please refer to > http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications. > > Note: MSDN Managed Newsgroup support offering is for non-urgent issues > where an initial response from the community or a Microsoft Support > Engineer within 2 business day is acceptable. Please note that each follow > up response may take approximately 2 business days as the support > professional working with you may need further investigation to reach the > most efficient resolution. The offering is not appropriate for situations > that require urgent, real-time or phone-based interactions. Issues of this > nature are best handled working with a dedicated Microsoft Support Engineer > by contacting Microsoft Customer Support Services (CSS) at > http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx > ================================================== > This posting is provided "AS IS" with no warranties, and confers no rights. > > > > Hi,
I am sendu an recruiter from E*pro. Nice to have a glance every day in this community and its people. Happy to observe its concept and postings. I am working with a recruiting firm and recruiting people in various IT,Accounting,ITES and other domains. I need updated resume from people in Various parts of US. I can help them in getting a better oppurtinity in any field of their aspiration. Mail ur updated CV to: nse***@eprocorp.com Warm Regards, N.Sendu. E*pro. Hi,
I am sendu an recruiter from E*pro. Nice to have a glance every day in this community and its people. Happy to observe its concept and postings. I am working with a recruiting firm and recruiting people in various IT,Accounting,ITES and other domains. I need updated resume from people in Various parts of US. I can help them in getting a better oppurtinity in any field of their aspiration. Mail ur updated CV to: nse***@eprocorp.com Warm Regards, N.Sendu. E*pro. As this is unusual you may want to start fist by explaining what is the
problem when multiple users are hiting this page. This way, someone will be perhaps able to suggest how to solve the original issue rather than implementing a workaround on top of the original issue... If this is for data updates for example, optimistic concurrency could perhaps help... -- Patrice "Gerhard" <Gerhard@community.nospam> a écrit dans le message de groupe de discussion : C1B3E9A6-1EC6-4E57-921F-795CFED6A***@microsoft.com...Show quoteHide quote > Is there a best practice way to restrict a web page to only one user at a > time? This is for a business page that is not used often and would be > best > if only one person at a time was allowed to access it. Using vb.net > version > 3.5. Can be accessed from both Intranet and Internet. > > Thanks Hi,
I am sendu an recruiter from E*pro. Nice to have a glance every day in this community and its people. Happy to observe its concept and postings. I am working with a recruiting firm and recruiting people in various IT,Accounting,ITES and other domains. I need updated resume from people in Various parts of US. I can help them in getting a better oppurtinity in any field of their aspiration. Mail ur updated CV to: nse***@eprocorp.com Warm Regards, N.Sendu. E*pro. =?Utf-8?B?R2VyaGFyZA==?= <Gerhard@community.nospam> wrote in
news:C1B3E9A6-1EC6-4E57-921F-795CFED6A43E@microsoft.com: You cannot lock a single page, or at least not easily. You can put the page > Is there a best practice way to restrict a web page to only one user > at a time? This is for a business page that is not used often and > would be best if only one person at a time was allowed to access it. > Using vb.net version 3.5. Can be accessed from both Intranet and > Internet. in a database, perhaps, and put a lock on the data and then determine whether or not to show it to another person. There is a problem with that approach, however. How do you know when a person is no longer viewing a page. Here are specifics: 1. User clicks another link - You now can free up the resource 2. User closes browser - You have no indicator he left 3. User types in new URL - You have no indicator he left With #2 and #3, you can wait for session time out, but that locks the resource for 20 minutes. Best practice states you should optimistically lock records, meaning you determine if they are changed when the user submits a change. If this does not work, and you truly need to restrict to one person, you are best to set up a windows app (Silverlight is an option for the web) and restrict there. -- Show quoteHide quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA Twitter: @gbworld Blog: http://gregorybeamer.spaces.live.com ****************************************** | Think outside the box! | ****************************************** Hi,
I am sendu an recruiter from E*pro. Nice to have a glance every day in this community and its people. Happy to observe its concept and postings. I am working with a recruiting firm and recruiting people in various IT,Accounting,ITES and other domains. I need updated resume from people in Various parts of US. I can help them in getting a better oppurtinity in any field of their aspiration. Mail ur updated CV to: nse***@eprocorp.com Warm Regards, N.Sendu. E*pro. =?Utf-8?B?UmVjcnVpdG1lbnQgISEh?= <Recruitm***@discussions.microsoft.com>
wrote in news:4672DE6D-2436-4375-9C0C-D6BA746CEDEB@microsoft.com: Are you desperate or just an idiot?> Hi, > > I am sendu an recruiter from E*pro. > > Nice to have a glance every day in this community and its people. > Happy to observe its concept and postings. I am working with a > recruiting firm and recruiting people in various IT,Accounting,ITES > and other domains. I need updated resume from people in Various parts > of US. I can help them in getting a better oppurtinity in any field of > their aspiration. > -- Show quoteHide quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA Twitter: @gbworld Blog: http://gregorybeamer.spaces.live.com ******************************************* | Think outside the box! | ******************************************* Hi,
I am sendu an recruiter from E*pro. Nice to have a glance every day in this community and its people. Happy to observe its concept and postings. I am working with a recruiting firm and recruiting people in various IT,Accounting,ITES and other domains. I need updated resume from people in Various parts of US. I can help them in getting a better oppurtinity in any field of their aspiration. Mail ur updated CV to: nse***@eprocorp.com Warm Regards, N.Sendu. E*pro. Hi,
I am sendu an recruiter from E*pro. Nice to have a glance every day in this community and its people. Happy to observe its concept and postings. I am working with a recruiting firm and recruiting people in various IT,Accounting,ITES and other domains. I need updated resume from people in Various parts of US. I can help them in getting a better oppurtinity in any field of their aspiration. Mail ur updated CV to: nse***@eprocorp.com Warm Regards, N.Sendu. E*pro.
Other interesting topics
Calling Application_Start After Worker Process is Recycled
Gridview render control error in content page Server.ScriptTimeout not being observed? á ÇáÅÓáÇã Úä ÇáÅÑåÇÈ¿ Redirect To Login Page - Forms Authentication Page refresh - Alternative to using frames How can the Login control stop authenticating? American and European Converted from Christianity to ISLAM Javascript question VB.Net Developer, Houstan TX, Duration: 6months, ONLY Green Card / (1-140 & EAD approved) |
|||||||||||||||||||||||