Solved

internet cafe program suggestions:e.g. prevent (xp) user from using internet after 15min, and how to enable it for 15min

Posted on 2004-09-15
6
145 Views
Last Modified: 2010-04-23
hi , im writing a quick and dirty app for a small 2 pc internet cafe.
the idea i have is that the user pays the administrator an amount

the  administrator then copies a exe i wrote to the desktop of the pc that will be used.

the client then runs the exe (which will be deleted afterwards) and then is allowed to use internet explorer for 15 minutes.
i am aware that windows explorer can also be used for this purpose.,

so should i rather let the user get logged off after his time expires? or how can i stop him from using the internet after the set time?

any other suggestions for my program? any links?
thanks!
0
Comment
Question by:jxharding
  • 4
  • 2
6 Comments
 
LVL 18

Accepted Solution

by:
armoghan earned 500 total points
ID: 12062796
You can create an Application which shutdown the application after some time
for shutting down application see this
http://www.codeproject.com/csharp/timercomputershutdown.asp


But better option would be that you create an alarm at administrators computer for the set time and at the given time, use Remote desktop to shutdown the computer or stop the user.
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12062803
0
 

Author Comment

by:jxharding
ID: 12062949
hi armoghan
i did write a timer in vb  that counts down and i plan to implement the disconnection procedures to it.
that codeproject link looks very good, im going to try it out now.
it seems that logging off the user is the best way to go?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 18

Expert Comment

by:armoghan
ID: 12062974
yes log off will serve the purpose from preventing the user to continue using internet
0
 

Author Comment

by:jxharding
ID: 12215591
hi armoghan, the link shuts down the pc.
do u perhaps have any tips regarding logging off?
thanks!
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12223918
In the same article see the Case 4. It logs off

case 4:
Org.Mentalis.Utilities.WindowsController.
ExitWindows(RestartOptions.LogOff, false);
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now