clarky2k3 Posted August 6, 2010 Posted August 6, 2010 For those wanting to keep this is as a simple system without SQL databases...? Too often it happens that scripts start to rely on more and more other things to function. One thing I liked about HAP was that it ran on its own. Same here!
nickbro Posted August 6, 2010 Author Posted August 6, 2010 Ok, I'll give up on the SQL database then, stick to using XML files
nickbro Posted August 6, 2010 Author Posted August 6, 2010 Ok guys, some screen shots of the logon tracker, Windows GUI (the web gui is tomorrows job). The script runs on, logon, logoff, shutdown, start up. It ensures that there is no errors will the logging. Data logged is: Computer Name, IP, Username, Domain Name, Logon Server, Logon DateTime, Logoff DateTime. Logoff, Shutdown, Startup script ExeFile: HAP Logon Tracker.exe Params: https://folders.crickhowell-hs.powys.sch.uk/extranet/Logon Script ExeFile: HAP Logon Tracker.exe Params: logon https://folders.crickhowell-hs.powys.sch.uk/extranet/ [ATTACH=CONFIG]7904[/ATTACH][ATTACH=CONFIG]7905[/ATTACH]
nickbro Posted August 7, 2010 Author Posted August 7, 2010 Here's some pics of the logon tracker's web interface [ATTACH=CONFIG]7906[/ATTACH][ATTACH=CONFIG]7907[/ATTACH][ATTACH=CONFIG]7908[/ATTACH][ATTACH=CONFIG]7909[/ATTACH]
victory2009 Posted August 8, 2010 Posted August 8, 2010 this looks brilliant, cant wait to test it out
nickbro Posted August 8, 2010 Author Posted August 8, 2010 Good to hear. It's almost done (v5 that is) The booking system has had a bit of a looking at. It's now soo much quicker, thanks to CACHING on the data used to render it. Specifically the AD info for the bookie's userinfo and the static bookings are all cached. The latter expires when the file is chanced (staticbookings.xml), the former is expired after 1 hour. But still it's quite a bit more nippy now.
nickbro Posted August 8, 2010 Author Posted August 8, 2010 v5 will be released shortly, keep an eye on Home Access Plus+
Netwacky87 Posted August 8, 2010 Posted August 8, 2010 Heya Guys, I have been looking at implementing Home Access Plus+ and so far...BRILLIANT!.....Sadly we dont use SIMS, so I was wondering if someone could post an example of Report.xml that is used in the student photo bit? Just curious if I can alter it to our setup! Cheers Mart
victory2009 Posted August 8, 2010 Posted August 8, 2010 gonna test it out now.. can i ask if for any reason the website is not available at logon does the system carry on, just thinking if my web server died i dont want people unable to logon?
victory2009 Posted August 8, 2010 Posted August 8, 2010 cant seem to get the logon tracker working. i keep getting the below error in the log file. System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid. Check InnerException for exception details. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result) at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result) --- End of inner exception stack trace --- at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() at System.Net.UploadStringCompletedEventArgs.get_Result() at HAP.Logon.Tracker.Loading.client_UploadStringCompleted(Object sender, UploadStringCompletedEventArgs e)
Netwacky87 Posted August 8, 2010 Posted August 8, 2010 Have you followed this guide: Home Access Plus+ 1
victory2009 Posted August 8, 2010 Posted August 8, 2010 (edited) Have you followed this guide: Home Access Plus+ ah ha problemo solved! THANKS! Ive tested it out on a few workstations this evening and they seem to hang at registering your logon for a very long time before continuing, i will test it more thoroughly tomorrow when im in work but wondered if you have any idea why they are taking quite long to register. Another problem ive notices is i have set the users to 1 logon only but on second logon this box appears but still lets me press done and it will still logon? if i logon a third time it will stop me pressing done! http://i35.tinypic.com/wva7vc.jpg Edited August 8, 2010 by victory2009
nickbro Posted August 8, 2010 Author Posted August 8, 2010 That's prob a DOH moment on my half. I'll look into it. If HAP Logon Tracker can't connect to the webserver, it should let the user logon. I'll write the error out to a log file somewhere.
nickbro Posted August 8, 2010 Author Posted August 8, 2010 Ok, I've just reuploaded the HAP Logon Tracker.exe to the Home Access Plus+. I had a <= instead of a <. Can anyone confirm if the remote logoff works? I haven't properly tested it yet. I copied the remote logoff code from the edugeek logon tracker script, since it was the easiest.
nickbro Posted August 8, 2010 Author Posted August 8, 2010 It should be fairly quick at registering the logon, it takes a bit more time when their is multiple logons. The only thing that would slow it down would be the webserver's response time. You need to make sure the webserver doesn't auto recycle the extranet app pool in IIS. It can be slow reloading that.
victory2009 Posted August 9, 2010 Posted August 9, 2010 Ok, I've just reuploaded the HAP Logon Tracker.exe to the Home Access Plus+. I had a <= instead of a <. Can anyone confirm if the remote logoff works? I haven't properly tested it yet. I copied the remote logoff code from the edugeek logon tracker script, since it was the easiest. Thanks its working ok now.. could you add a buttom next to done saying cancel so it logs off the current machine they are attempting to logon to as some may not want to log off the other computers if they have work open and i dont want them leaving the machine they are attempting to logon to unattended while they go and save there work. Remote logoff is working fine here. Another request would be the ability to delete a live logon on the web interface?
Edu-IT Posted August 9, 2010 Posted August 9, 2010 Did the booking system enhancements not make it into V5?
nickbro Posted August 9, 2010 Author Posted August 9, 2010 Did the booking system enhancements not make it into V5? What enhancements are you referring to? The caching is def in there, but it's only small parts that are cached. I'll expand the caching to include more stuff.
nickbro Posted August 9, 2010 Author Posted August 9, 2010 Thanks its working ok now.. could you add a buttom next to done saying cancel so it logs off the current machine they are attempting to logon to as some may not want to log off the other computers if they have work open and i dont want them leaving the machine they are attempting to logon to unattended while they go and save there work. Remote logoff is working fine here. Another request would be the ability to delete a live logon on the web interface? Will do
nickbro Posted August 9, 2010 Author Posted August 9, 2010 Up and coming v5.1 changes: - Fixed the Student Shared Area listings for students in the silverlight browser - Added a cancel button to the Logon Tracker Windows GUI, which logs the current user off - Added a logoff button to the Live Logon Tracker - Added some more caching routines to the booking system
nickbro Posted August 9, 2010 Author Posted August 9, 2010 v5.1 is now available on Home Access Plus+
nickbro Posted August 10, 2010 Author Posted August 10, 2010 To go back to the HTML version, you need to delete the cookies set by HAP.
Edu-IT Posted August 10, 2010 Posted August 10, 2010 Then the user would get logged out? I've added some suggestions to the project if anyone wish to comment on them/vote. http://hap.codeplex.com/workitem/list/basic
nickbro Posted August 10, 2010 Author Posted August 10, 2010 I'll get one with the jobs. If anyone can help, please let me know, I'll add you as a dev on codeplex.
nickbro Posted August 11, 2010 Author Posted August 11, 2010 Right, an update, I've done a few of the jobs on the list. I've even gone through all of the pages and removed the /extranet/ reference. You can now run HAP without it needing to be in the /extranet/ folder. v5.2 may look to be a big release, but it's mainly this change to remove the /extranet/ from all of the code files. The biggest nightmare was the HTML My Computer Browser, well that and the silverlight version. The web.config file will be getting an addition. The subjects list will be stored in there, and the config tool has been updated to update these listings. And yes I know what time it is too. I'm off to sleep now. Any again, if their are any programmers out there who would be willing to help me out, and can understand what I've already done (mind that's not really needed), let me know. You can see the changes for the /extranet/ fix on http://hap.codeplex.com/SourceControl/changeset/changes/53899
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now