Welcome to imar.spaanjaars.com


Finished the Article Series on Hit Counters
Published 17 years ago
By publishing the article Howto Create a Hit Counter Using a Database in ASP.NET I finished up the article series about Hit Counters in ASP and ASP.NET
Read on ...
Howto Create a Hit Counter Using a Database in ASP.NET 1.x with C#
Published 17 years ago
If you have a live Web site on the World Wide Web, you may be interested
in how many people are visiting your site. You can of course analyze the
log files of your Web server but that information is usually difficult
to read. The log files contain information for each and every request a
visitor has made to your site, including resources like images, Flash movies
and so on. This makes it near impossible to extract information about individual
users. It would be a lot easier if you could count the number of individual
users that have visited you since you started your site. It would also
be useful if you could see the number of users that are currently browsing
your site.
This article will show you how to accomplish these two tasks by storing
the hit counters in shared variables in the Global class
and in a database using code in the Global.asax file.
The counters in the shared variables are used to display them on a page
in your Web site; either as a counter so your visitors can see it as well,
or somewhere on a page in your Admin section, so only you have access
to them. By writing the counters to a database you can maintain their value
even when you restart the Web server, while you still have a fast and scalable
solution.
This article extends
the ideas from two previous articles where the values of the counters were
just stored in static variables in
the Global class and in a text
file.
There are also Classic ASP and
VB.NET versions of this article available.

Singleton Class
Published 17 years ago
This article is considered obsolete. Take a look here instead. This snippet shows you how to implement a Singleton class in C#.
Read on ...
Large Site Update
Published 17 years ago
Today I have updated the site again. You won't be able to see most of the changes, as I mainly updated the back-end of the system.
Read on ...
Measuring the Size of an Image with VB.NET
Published 17 years ago
It can be useful to be able to retrieve the Height and Width of an image file you have on disk. The following snippet shows you how to do that:
Read on ...
Measuring the Size of an Image with C#
Published 17 years ago
It can be useful to be able to retrieve the Height and Width of an image file you have on disk. The following snippet shows you how to do that:
Read on ...
Almost Christmas Holidays....
Published 17 years ago
Pfff, just another week to the Christmas Holidays. Really looking forward to it. Having lots of free time, hanging around with friends and family, no work pressure......
Read on ...
"Upgraded" to ASP.NET 2.0 a.k.a. Whidbey
Published 17 years ago
Today I installed an early alpha release of ASP.NET 2.0, also known as Whidbey on my server. Yeah, yeah, I know. I shouldn't install beta stuff on my production servers, but I just couldn't resist it. I guess I'll have to live with the consequences (I am typing this message directly from the SQL Server Enterprise Manager because my Login functionality broke down ;-) )
Read on ...
Howto Create a Hit Counter Using a Text File in ASP.NET 1.x
Published 17 years ago
If you have a live Web site on the World Wide Web, you may be interested
in how many people are visiting your site. You can of course analyze the
log files of your Web server but that information is usually difficult
to read. The log files contain information for each and every request a
visitor has made to your site, including resources like images, Flash movies
and so on. This makes it near impossible to extract information about individual
users. It would be a lot easier if you could count the number of individual
users that have visited you since you started your site. It would also
be useful if you could see the number of users that are currently browsing
your site.
This article will show you how to accomplish these two tasks by storing
the hit counters in static variables in the Global class
and in a text file using code in the Global.asax file.
This article extends the ideas from a previous
article where the values of the counters were just stored in static
variables. By writing the counters to a file you can maintain their values,
even when you restart the Web server.
There is also a Classic ASP version of
this article available.

New Hit Counter Article
Published 17 years ago
The first article in a series of three, describing how to create Hit Counters in ASP.NET is finished now.
Read on ...Mobile: False
Crawler: True
I: False