Click here to Skip to main content
15,887,027 members
Home / Discussions / Web Development
   

Web Development

 
QuestionAsp.net webservice Pin
biaali16-Mar-07 23:08
biaali16-Mar-07 23:08 
AnswerRe: Asp.net webservice Pin
Vasudevan Deepak Kumar22-Mar-07 6:16
Vasudevan Deepak Kumar22-Mar-07 6:16 
Questionsending auto generating bulk mail Pin
jayvaishnav8216-Mar-07 20:08
jayvaishnav8216-Mar-07 20:08 
AnswerRe: sending auto generating bulk mail Pin
Bradml17-Mar-07 1:11
Bradml17-Mar-07 1:11 
GeneralRe: sending auto generating bulk mail Pin
jayvaishnav8217-Mar-07 1:30
jayvaishnav8217-Mar-07 1:30 
AnswerRe: sending auto generating bulk mail Pin
Vasudevan Deepak Kumar22-Mar-07 6:19
Vasudevan Deepak Kumar22-Mar-07 6:19 
QuestionEnterprise Library January 2006 - GUD to new for Asp.net 2.0 application Pin
dfdf34316-Mar-07 16:13
dfdf34316-Mar-07 16:13 
QuestionWindows Server 2003 SP2 Broke My Site Pin
achimera16-Mar-07 14:09
achimera16-Mar-07 14:09 
I have a classic ASP web site that has been running flawlessly for at least 6 years now.

I updated Windows Server 2003 to SP2 a few days ago, and now a "session counter" that I had implemented in Global.asa no longer works. Here is the code.

From Global.asa:
function Application_OnStart()
{
    Application("Visitors") = 0;
}
 
function Session_OnStart()
{
    Application.Lock();
    {
        Application("Visitors") = Application("Visitors") + 1;
    }
    Application.Unlock();
 
    // remainder of this function omitted, as it is irrelevant
}
 
function Session_OnEnd()
{
    Application.Lock();
    {
        iVisitors = Application("Visitors");
        if( iVisitors > 0 )
        {
            Application("Visitors") = iVisitors - 1;
        }
        else
        {
            Application("Visitors") = 0;
        }
    }
    Application.Unlock();
}
It appears to me that Session_OnEnd is never being called now, because Application("Visitors") keeps incrementing with each session BUT never deincrements since installing SP2!

The code is so simple, that I can't see any reason why it is not doing so.

Can anyone see a flaw in my code? Or am I just hosed? Frown | :(
AnswerRe: Windows Server 2003 SP2 Broke My Site Pin
kubben16-Mar-07 16:52
kubben16-Mar-07 16:52 
GeneralRe: Windows Server 2003 SP2 Broke My Site Pin
achimera16-Mar-07 19:57
achimera16-Mar-07 19:57 
GeneralRe: Windows Server 2003 SP2 Broke My Site Pin
achimera16-Mar-07 22:05
achimera16-Mar-07 22:05 
AnswerRe: Windows Server 2003 SP2 Broke My Site Pin
Guffa17-Mar-07 9:17
Guffa17-Mar-07 9:17 
GeneralRe: Windows Server 2003 SP2 Broke My Site Pin
achimera17-Mar-07 10:48
achimera17-Mar-07 10:48 
QuestionURLDownloadToFile with authentication Pin
Antosha16-Mar-07 10:57
Antosha16-Mar-07 10:57 
QuestionBreak point in the Page Load event is not firing Pin
shyamts16-Mar-07 5:29
shyamts16-Mar-07 5:29 
AnswerRe: Break point in the Page Load event is not firing Pin
Marcus J. Smith16-Mar-07 7:36
professionalMarcus J. Smith16-Mar-07 7:36 
GeneralRe: Break point in the Page Load event is not firing Pin
shyamts17-Mar-07 19:47
shyamts17-Mar-07 19:47 
Questionsending email Pin
saltcode16-Mar-07 4:52
professionalsaltcode16-Mar-07 4:52 
AnswerRe: sending email Pin
Marcus J. Smith16-Mar-07 4:55
professionalMarcus J. Smith16-Mar-07 4:55 
AnswerRe: sending email Pin
enjoycrack16-Mar-07 4:58
enjoycrack16-Mar-07 4:58 
GeneralRe: sending email Pin
saltcode16-Mar-07 6:12
professionalsaltcode16-Mar-07 6:12 
GeneralRe: sending email Pin
Marcus J. Smith16-Mar-07 7:31
professionalMarcus J. Smith16-Mar-07 7:31 
AnswerRe: sending email Pin
Vasudevan Deepak Kumar22-Mar-07 6:20
Vasudevan Deepak Kumar22-Mar-07 6:20 
Questionvalidate textbox length Pin
jayvaishnav8216-Mar-07 2:49
jayvaishnav8216-Mar-07 2:49 
AnswerRe: validate textbox length Pin
hiral_shah16-Mar-07 3:09
hiral_shah16-Mar-07 3:09 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.