• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Ideas on how to get this done? Logon vbscript with survey.

Hmongkeysauce

Senior member
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.
 
Back
Top