How to prevent multiple access to a webpage?

Posted by Kugel on Stack Overflow See other posts from Stack Overflow or by Kugel
Published on 2010-04-20T23:40:05Z Indexed on 2010/04/20 23:43 UTC
Read the original article Hit count: 341

Say I have a web service where I want to serve the content only once. After it is served any other access to that url should generate an error message.

How would I go about doing something like this? What if 2 clients access the url in the same exact moment?

© Stack Overflow or respective owner

Related posts about web-services

Related posts about mutual-exclusion