> From: Duncan I Loxton [mailto:[EMAIL PROTECTED]
> <fuseaction name="checkUser">
> <include template="qry_checkUser.cfm"/>
> <if condition="validateUser.recordcount is 1">
> <true>
> <set name="request.usr_id"
> value="#validateUser.usr_id#" />
> </true>
> </if>
> </fuseaction>
>
> When I get thru the login process the request.usr_id isnt set - why??
I would first verify that the query returns a record. Can you verify that
the query returns what you are expecting?
Also, I would change your conditional statement to take into account
multiple records or 0 records:
<if condition="validateUser.RecordCount EQ 1">
<true>
<set name="request.usr_id" value="#validateUser.usr_id#" />
</true>
<false>
.... ???? ....
<false>
</if>
Just cfdump the query first to make sure the values you expect are there...
Then go from there.
HTH,
Mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188917
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54