Click here to Skip to main content
13,301,125 members (53,136 online)
Rate this:
Please Sign up or sign in to vote.
See more:
how to check if the application is running for the first time after being installed.
Posted 29-Sep-12 0:33am
Sandeep Mewara 29-Sep-12 5:44am
ASP.NET application installed? Can you elaborate?
vishwas KAPTE 29-Sep-12 5:56am
actually sir,
i want to check my application runs first time..
Sandeep Mewara 29-Sep-12 6:14am
Care to elaborate?
CloudWebi 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
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171207.1 | Last Updated 29 Sep 2012
Copyright © CodeProject, 1999-2017
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