Click here to Skip to main content
Click here to Skip to main content

Mutex Solution in ASP

By , 10 Dec 2003
 

Introduction

This article is intended to solve the mutex problem, arising in huge websites, where a lot of information for each session user has to be unique. Here the solution for the  mutex problem is done using the ASP web technology. The same logic can be implemented in other technologies also. In fact this solution can even be implemented in client server applications.

Details

In a huge web application thousands of users log-in, and log-out in a hour from all over the world. Now, we some times need to provide them a unique ID instead of just a sessionID, and this cannot be done using any feature in IIS. Say, if we want to give them a unique ID for a table, then it is difficult to use the application.lock method, and then we need some extra mechanism to generate a unique ID. See Global.asa from the downloadable zip for details on how I have implemented the unique ID generation.

Sample Usage

<%=Application("recordsid")%>

History

  • December 12 2003 - First version

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Himadrish Laha
Web Developer
India India
Member
Himadrish Laha
INDIAN
himadrish@yahoo.com
Age:28 yrs(M)
Languages:English, Bengali, Hindi
 
Around six years of experience in Software Engineering, system Developments, and Integrations.
 
Programming Languages: C#, VB.NET, ASP.NET, ASP, VB.
 
Database: SQL-Server 2005/2000/7.0, My-Sql.
 
Middle Tier: XML, MQ-SERIES
 
Operating Systems: IIS (3.0, 5.0, 6.0), APACHE (1.3-2.0)
 

Vista Gagdget, Widows SharePoint

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 1memberCoolVini6 Feb '09 - 13:52 
GeneralRe: My vote of 1memberHimadrish Laha18 Apr '09 - 21:23 
QuestionWhat's the point?memberVince C.16 Dec '03 - 0:51 
AnswerRe: What's the point?memberHimadrish Laha16 Dec '03 - 1:15 
GeneralRe: What's the point?memberVince C.16 Dec '03 - 10:21 
GeneralCan't understand...memberdenic15 Dec '03 - 5:11 
GeneralRe: Can't understand...memberHimadrish Laha16 Dec '03 - 1:23 
Generalzip file emptymembermsyoung15 Dec '03 - 4:14 
GeneralRe: zip file emptymemberHimadrish Laha16 Dec '03 - 1:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 11 Dec 2003
Article Copyright 2003 by Himadrish Laha
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid