- Jun 8, 2005
- 360
- 0
- 76
I need to push a survey through Active Directory. The survey needs to pop up every time a user logs in and the user must take the survey. I also need a way to record the time when a user logs out.
Currently, I have created the survey in asp.net and have a logon vbscript that creates an IE object and opens up the page in kiosk mode. The website has a button to close the page when the user is done (javascript only works in IE). The script looks for an IE process every 3 or 5(can't remember) seconds and proceeds to load the desktop when it no longer finds the IE process. The script is running in async mode so desktop loading cannot happen before survey is take or IE process is closed. I then have a separate logout script to record the time the user logs out.
The above works as intended, but, I can't help but think that there is a better way to do all this. Is there a way to read a query string from the logon script? That way, I can read the query string and detect if a user submission was successful or not. Any input is greatly appreciated. Thank you.
Currently, I have created the survey in asp.net and have a logon vbscript that creates an IE object and opens up the page in kiosk mode. The website has a button to close the page when the user is done (javascript only works in IE). The script looks for an IE process every 3 or 5(can't remember) seconds and proceeds to load the desktop when it no longer finds the IE process. The script is running in async mode so desktop loading cannot happen before survey is take or IE process is closed. I then have a separate logout script to record the time the user logs out.
The above works as intended, but, I can't help but think that there is a better way to do all this. Is there a way to read a query string from the logon script? That way, I can read the query string and detect if a user submission was successful or not. Any input is greatly appreciated. Thank you.