Click here to Skip to main content
15,884,177 members
Articles / Web Development / ASP.NET
Alternative
Tip/Trick

ASP.net QuickSet of 12 Tips and Tricks

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
16 Jul 2011CPOL 16.2K   1   3
Application[“P...
Application["PageHitCount"] += Application["PageHitCount"];

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


Are you SURE you didn't mean:

Application["PageHitCount"] += 1;

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

License

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


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

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