Photo Gallery
Member List
Search
Calendars
FAQ
Ticket List
Log Out
Forums
Register
Login
My Profile
Inbox
Address Book
My Subscription
My Forums
object functions are picky about parameters
Logged in as: Guest
arrSession:exec spGetSession 2,3,46341
Active Users: There are
0
members and
0
guests.
Users viewing this topic: none
Printable Version
All Forums
>>
[Scripting]
>>
ASP
>> object functions are picky about parameters
Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page:
[1]
Login
Message
<< Older Topic
Newer Topic >>
object functions are picky about parameters -
4/25/2007 6:23:27 AM
kelphis
Posts: 10
Score: 0
Joined: 4/19/2007
Status:
offline
why do object functions not allow me to pass functions as parameters
this doesnt work. i get a method or property is supported error
if request.form("login")="Login" then if Puser.Login(request.form("username"),request.form("md5pw")) then set session("Puser") = Puser end if end if
this is similar code and it does work.
if request.form("login")="Login" then dim username dim md5pass username = request.form("username") md5pass = request.form("md5pw") loggedin = Puser.Login(username,md5pass) if loggedin then set session("Puser") = Puser end if end if
why is that?
Post #: 1
RE: object functions are picky about parameters -
4/25/2007 8:49:37 AM
kelphis
Posts: 10
Score: 0
Joined: 4/19/2007
Status:
offline
nevermind it was something else.
(in reply to
kelphis
)
Post #: 2
If you found our site useful please link to us
<a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>
.
All Forums
>>
[Scripting]
>>
ASP
>> object functions are picky about parameters
Page:
[1]
Jump to:
Select a Forum
All Forums
----------------------
[Welcome]
- - Forum Rules
- - Test Posting Messages
- - New Member Area/Introduction
[Scripting]
- - WSH & Client Side VBScript
- - WSH & Client Side VBScript Tutorial
- - Post a VBScript
- - Windows PowerShell
- - ASP
- - ASP.NET
- - Windows Script Components
[General Forum]
- - Other Programming/Scripting Languages
- - Suggestions & Feedback
- - Off-Topic Lounge
New Messages
No New Messages
Hot Topic w/ New Messages
Hot Topic w/o New Messages
Locked w/ New Messages
Locked w/o New Messages
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
Forum Software ©
ASPPlayground.NET
Advanced Edition
2.5.5 ANSI