Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET Application
how to check if the application is running for the first time after being installed.
Posted 28-Sep-12 23:33pm
Comments
Sandeep Mewara at 29-Sep-12 5:44am
   
ASP.NET application installed? Can you elaborate?
vishwas KAPTE at 29-Sep-12 5:56am
   
actually sir,
i want to check my application runs first time..
Sandeep Mewara at 29-Sep-12 6:14am
   
Care to elaborate?
CloudWebi at 29-Sep-12 6:42am
   
webapps or desktopapps? if webapps try on the webserver with localhost. if desktop apps try on the client machine by executing the exe file.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Because you are writing a web application, the only thing you could do on the client side is save a cookie with some information on it. This is not good because the user can delete the cookie and appear again to you to be a new visitor running the page for the first time.
You'll have to find some way of uniquely identifying users as they come to your site and then note that they have visited in your database. This is not as trivial as it sounds because you'll have to figure out how to ensure that you capture new visitors correctly.
  Permalink  

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



Advertise | Privacy | Mobile
Web03 | 2.8.141015.1 | Last Updated 29 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100