|
Hi,
I am creating a demo ASP.net web page application which will be installed on client place for 30 days.
I want my ASP.net application to stop working after 30 days.
I don't want to reply on system date because user can always trick the application by changing the system date of Web server.
I guess I will not have access to user system hard disk and registry because application will be running in IIS and it doesn't have access to them.
Do you think if there is any other way I can manage trial version of my application.
Thanks in Advance
If you have faith in the cause and
the means and in God, the hot
Sun will be cool for you.
|
|
|
|
|
You can store a timestamp each time the application is run.
Then by comparing the previous date to the current date you will know if the clock has been turned back (You could then lock up the application).
My 2 cents...
A dogged, arrogant belief in self and the childlike idealism that comes with not knowing my limits. This is my greatest blessing, my priceless attribute.
|
|
|
|
|
Restart WWW services all the Application variables are lost.
|
|
|
|
|
I meant Application as in Web Application and not Page.Application
You can always store them somewhere on the hard disk / registry... However setting up of read /write permissions might be tricky depending on how you wish to install the application.
A dogged, arrogant belief in self and the childlike idealism that comes with not knowing my limits. This is my greatest blessing, my priceless attribute.
|
|
|
|
|
My suggestions for you Problem:
1. Create A webservice on your Server that should accept some arguments(IP) from client. It should check on what date the IP was registed. Difference between the Current and Date Registed. Should send TRUE/FALSE to client based on this.
2. Create a DLL for client. Before it serve any request to client, it must contact your Service, get the Status and proceed.
3. If expiry date is over, stop the DLL from execution.
|
|
|
|
|
You beat me to the punch. Good answer.
I didn't get any requirements for the signature
|
|
|
|
|
Thanks.....
|
|
|
|
|
Is there possible to do xml validation in asp.net,without using validation controls in toolbox..
if so,refer some links.
Thanx in advance..
|
|
|
|
|
jaraldumary wrote: Is there possible to do xml validation in asp.net
XML validation? Are you trying to validate a XML file?
|
|
|
|
|
yes,
if there is any link refer to me..
|
|
|
|
|
jaraldumary wrote: if there is any link refer to me..
Check It[^]
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
|
Hello
I am using ASP.NET to develope a web site.can any body plz tell me how to create a hit counter for my web site.
|
|
|
|
|
Easy method is to keep the count in a Application variable and increment it upon each request.
|
|
|
|
|
at what level i have to do the increament.can i do it at "PAGE_LOAD" level.
|
|
|
|
|
You can do it in the session_start event in global.asax . Page_load will be fired for all postbacks and you will get massive count.
|
|
|
|
|
thanx for the response it is working
|
|
|
|
|
souravghosh18 wrote: can i do it at "PAGE_LOAD" level.
No!.
You need to know about Application_start() / Session_Start() on Global.asax file.
Check This From Navaneeth's Article[^]
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
thanx for the response it is working fine
|
|
|
|
|
souravghosh18 wrote: I am using ASP.NET to develope a web site.can any body plz tell me how to create a hit counter for my web site.
Why to re-invent the wheel.
You want hit counter, visit
http://www.hit-counter-download.com/[^]
|
|
|
|
|
Hello all
Can anybody tell me
What are the com component and what is their use in asp.net
Thanks
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
rahul.net11 wrote: What are the com componen
COM[^]
rahul.net11 wrote: what is their use in asp.net
No use
|
|
|
|
|
Thanks
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Can u explain that how the timer control works..If possible with example plz.
|
|
|
|
|
Timer control which comes with AJAX tookit? If yes, it uses JS setTimeout() method.
|
|
|
|