Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Need Help w/ Client Side VBScript

Need Help w/ Client Side VBScript

Scheduled Pinned Locked Moved Web Development
comhelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tim Rymer
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • T Tim Rymer

      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

      J Offline
      J Offline
      Jeremy Falcon
      wrote on last edited by
      #2

      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

      T 1 Reply Last reply
      0
      • J Jeremy Falcon

        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

        T Offline
        T Offline
        Tim Rymer
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups