M
Mark
Hey people, I've been programming on our new C# MCMS intranet for
about 3 months. This is my first real .Net project. I'm experiencing
some very strange things.
In the global.asax.cs in the Application_BeginRequest function, I've
told the application to add to a Session["Hits"] variable. Everytime
I do a single request this number gets incremented twice. So I wrote
out all my page requests to a file to verify it.
My unexplained solution...
I backed up my entire project folder(v2.2). Then I deleted the
project from the folder and copied my previous version(v2.1) to the
folder. I opened IE and tested and I only got 1 hit per request.
Then I replaced my v2.1 with v2.2 again and it's still only getting 1
hit per request. This is good but I need to know why this was
happening. Could this be a wiggy .Net bug or something?
It was blowing up the log files and filling up the hard drive!
If anyone can explain I'd be very interested.
Thanks.
Mark
about 3 months. This is my first real .Net project. I'm experiencing
some very strange things.
In the global.asax.cs in the Application_BeginRequest function, I've
told the application to add to a Session["Hits"] variable. Everytime
I do a single request this number gets incremented twice. So I wrote
out all my page requests to a file to verify it.
My unexplained solution...
I backed up my entire project folder(v2.2). Then I deleted the
project from the folder and copied my previous version(v2.1) to the
folder. I opened IE and tested and I only got 1 hit per request.
Then I replaced my v2.1 with v2.2 again and it's still only getting 1
hit per request. This is good but I need to know why this was
happening. Could this be a wiggy .Net bug or something?
It was blowing up the log files and filling up the hard drive!
If anyone can explain I'd be very interested.
Thanks.
Mark