Need Help w/ Client Side VBScript
-
We have this this ActiveX OCX that we have to use for Username/Password, I can recieve the event that is called when you click submit in the ocx using VBScript. Now, the thing that i want to do is store the user name and password in a session variable in ASP. Is that possible? Again, I have to use the OCX and it seems that the only way to get the Event is to use VBScript. Any Ideas? ~Timothy T. Rymer http://tim.xpertz.com http://www.digipen.edu http://www.ttrx.com
-
We have this this ActiveX OCX that we have to use for Username/Password, I can recieve the event that is called when you click submit in the ocx using VBScript. Now, the thing that i want to do is store the user name and password in a session variable in ASP. Is that possible? Again, I have to use the OCX and it seems that the only way to get the Event is to use VBScript. Any Ideas? ~Timothy T. Rymer http://tim.xpertz.com http://www.digipen.edu http://www.ttrx.com
Create two hidden form variables and extract the username and password combination and place if info in there when the "OK" or whatever button is clicked. When the form is submitted via GET or POST you can assign whatever the values are into the Session object from there. If you are using something like a password as data I would not use GET because the password could be cached in the URL by the browser. The ActiveX control may provide functionality for this, but since I have no idea what this control is or how it works, it's pretty much impossible for me to tell you about it without more information on your part. Good luck. :) Jeremy Falcon Imputek "Oh no there was a knife in that kitchen drawer and I cut myself - please remove the kitchen." - David Wulff
-
Create two hidden form variables and extract the username and password combination and place if info in there when the "OK" or whatever button is clicked. When the form is submitted via GET or POST you can assign whatever the values are into the Session object from there. If you are using something like a password as data I would not use GET because the password could be cached in the URL by the browser. The ActiveX control may provide functionality for this, but since I have no idea what this control is or how it works, it's pretty much impossible for me to tell you about it without more information on your part. Good luck. :) Jeremy Falcon Imputek "Oh no there was a knife in that kitchen drawer and I cut myself - please remove the kitchen." - David Wulff
Well, first of all the control doesn't do anything but take in the name and password(it basically looks like a login box), and it's used for more important things. So when they click "OK" or whatever, an event is sent called "Sub Control_Verify()" and that "has to be"(so far) in Client-Side VBScript, so when that happens, can i "fake" a form and submit it automatically (inside of this event)? (which sounds like what you're trying to say....) ~Timothy T. Rymer http://tim.xpertz.com http://www.digipen.edu http://www.ttrx.com