Number of hits on the site
-
I am developing a web application in ASp.net, for that I want the number of hits on the site. pl'z help me :^)
Hi yuvraj Well to count number of hits. What you can do is that you can increment a counter in global.asax's protected void Session_Start(Object sender, EventArgs e) { i++; } this will give the number of hits on ur site Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com "A winner is not the one who never fails, But one who NEVER QUITS" Hope this help's you
-
Hi yuvraj Well to count number of hits. What you can do is that you can increment a counter in global.asax's protected void Session_Start(Object sender, EventArgs e) { i++; } this will give the number of hits on ur site Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com "A winner is not the one who never fails, But one who NEVER QUITS" Hope this help's you
-
Visit this link. I think this link will help u http://www.stardeveloper.com/articles/display.html?article=2002102501 Regard rajesh
-
Visit this link. I think this link will help u http://www.stardeveloper.com/articles/display.html?article=2002102501 Regard rajesh
-
Sir, I got it by incrementing the counter in global.asax. But how to pass it to homepage or webpage.
keep that variable in session object ex Session["Counter"]=i.ToString(); Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com "A winner is not the one who never fails, But one who NEVER QUITS"
-
I am developing a web application in ASp.net, for that I want the number of hits on the site. pl'z help me :^)
In Global.asax file write the following code Application["counter"]=0 Now write the code on the form load Application["counter"]= (int)Application["counter"] + 1 Label1.text = "You are visitor no = " + Application["counter"] Enjoy