//Take global.asax for make application level variable
void application_start(object sender,Eventargs e)
{
int count=convert.int32(application["hit"]);
count=0;
}
void session_start(object sender,eventargs e)
{
int count=convert.toint32(application["hit"]);
count=count+1;
application["hit"]=count;
}
//pageload
label1.text=convert.toint32(application["hit"]).tostrng();
Showing posts with label Number of user visit to your Website. Show all posts
Showing posts with label Number of user visit to your Website. Show all posts
Thursday, March 18, 2010
Subscribe to:
Posts (Atom)