kelphis
-
Total Posts
:
10
- Scores: 0
-
Reward points
:
0
- Joined: 4/19/2007
-
Status: offline
|
object functions are picky about parameters
Wednesday, April 25, 2007 7:23 AM
( permalink)
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?
|
|
|
|
kelphis
-
Total Posts
:
10
- Scores: 0
-
Reward points
:
0
- Joined: 4/19/2007
-
Status: offline
|
RE: object functions are picky about parameters
Wednesday, April 25, 2007 9:49 AM
( permalink)
nevermind it was something else.
|
|
|
|