Click here to Skip to main content
13,052,494 members (67,463 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


1 bookmarked
Posted 12 Jul 2011 QuickSet of 12 Tips and Tricks

, 16 Jul 2011
Rate this:
Please Sign up or sign in to vote.
Application["PageHitCount"] += Application["PageHitCount"];

- and -
Session["SessionHitCount"] += Session["SessionHitCount"];

Are you SURE you didn't mean:

Application["PageHitCount"] += 1;

- and -
Session["SessionHitCount"] += 1;


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Web Developer
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralReason for my vote of 5 nice Pin
annaunivrajan20-Dec-11 4:01
memberannaunivrajan20-Dec-11 4:01 
GeneralReason for my vote of 5 Made an important correction! :) Pin
Niaz Morshed20-Jul-11 12:02
memberNiaz Morshed20-Jul-11 12:02 
GeneralThanks! My mistake. Your alternate is what I meant. :) Pin
Niaz Morshed12-Jul-11 9:24
memberNiaz Morshed12-Jul-11 9:24 

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.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 16 Jul 2011
Article Copyright 2011 by tsdragon
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid