Forum Moderators: open

Message Too Old, No Replies

How do I limit and ASP page to one user visit at one time?

         

waxbird

3:54 pm on Nov 1, 2003 (gmt 0)

10+ Year Member



I think there must a idea to let one ASP page /limit one user visit/ at one time/...
Who ever do this?
Can we do it?

plumsauce

1:34 am on Nov 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




create an application scope variable

grab a lock on it at the very top of the page

waxbird

6:08 am on Nov 2, 2003 (gmt 0)

10+ Year Member



but this page's operation need long time,im afraid if lock it ,other one can't read the global applications.

plumsauce

5:10 am on Nov 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




you are placing a lock on a particular global
variable, not an application. different thing.