Results 1 to 2 of 2

Thread: One user exclusive access to a page?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    Question One user exclusive access to a page?

    Is there a way to use ViewState, Session state or some way to set a variable that would only allow exclusive access to a page?

    For example, when the first user opens the page a certain state or cache variable would be set. Then you would test the variable when other users tried to open the page and they would be redirected if anyone already had the page open.

  2. #2
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092
    You could use an Application variable rather than a session or write a value to a database but the main problem i can see you having is knowing when a user has finished with that page. All would be good and well if they left the page by clicking on a specific button or something but how would you handle someone simply closing their browser down?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width