All Forums >> [Scripting] >> ASP >> Web Auto-Login help needed Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Hi all, I am hoping there's someone on this board that can help me with this long standing problem I've been having. My company recently purchased 4 IP-KVM devices to allow our management staff the ability to log on to their contracted companies network for the purpose of such things as timecard submitting and on-line training courses. The devices are not very user friendly and we'd like to alleviate some of that for our users by making the process more automated. The KVM's run an internal website which locally authenticates the users to the device and allows them to attach to the connected laptop computers on the other network. The pages are ASP scripted and I am having a lot of trouble hacking them to auto-login to the devices. The initial authentication page, which I intend to host on our internal network's intranet web server (it is actually the code from the KVM device which the links point to the URL of the device,) is as follows:
I have tried different methods of achieving the auto-submit functionality. I can always achieve auto-filling the values via the code but auto-submitting either yields a javascript error or it submits to the KVM devices URL and results in the authentication page with none of the fields filled in. I am trying to achieve actually logging in to the device, so that the user either doesn't see the login page or sees it only momentarily as the auto-submit works it's way through.
I can provide more information if it would help and would appreciate all help offered in resolving this problem.
Thanks, Chad
< Message edited by ChadR -- 11/3/2007 9:06:27 AM >
ASP is a "request-response" environment. It doesn't "auto" anything.
Normally "auto login" is acheieved by a Remember-me technique in which a user gets a cookie after they have successfully logged in at least once.
When subsequent attempts to use the site occur, the cookie is tested for when they reach a target page. If the cookie exists they bypass the login request and are redirected to the work page. If the cookie does not exist, then they are redirected to the login page.
So, if this KVM device does not issue cookies itself, can I create one through the initial auth.asp (which is a modified copy of the auth.asp page which resides on the device) and somehow pass the login credentials to the KVM device's auth.asp page (which I cannot modify, unless I can crack the dbase3 firmware file)? This is ultimately what I need to accomplish.
Thank you,
Chad
< Message edited by ChadR -- 11/4/2007 6:07:41 AM >