| |
kaiteriteri
Posts: 2
Score: 0
Joined: 1/22/2002
From:
Status: offline
|
I have a .Net web site with most script written in VB. However, some key stuff is in VBscript. A recent user request requires me to pass an argument to the VBscript. This argument is stored as a Session variable. So, for other VB functions they simply refer to the session variable. But for VBscript functions this approach doesn't seem to be available (see a forum posting below, if you have a solution you can post it here too!) So, another alternative would be to pass it as a HREF parameter, so i'd have a hyperlink to ....foo.aspx?user=Joe Then within the VBscript function i want to extract this "user" name. How do i do it? If i try in a VBscript function (within the foo.aspx page): sub windows_onLoad() userName = Request.Params("user") msgbox userName end sub it doesn't work. I get "Error: Object required:'Request'" Any clues why? Do i have to load some class library or create some Request object first? thx j.
|
|