Re: FB4 on CFMX problem with set

2004-12-29 Thread Duncan I Loxton
It seems that the set was working fine, then at the end of the true
I was doing relocate
url=#myself#events.listamp;tk=#attributes.token# addtoken=yes
type=client / and this seems to be wiping out any request
variables.

I replaced this with a do action=events.list / and the dump show
request.usr_id is there and set.

By using the relocate does FB wipe the request out and assume its a
new one? Why would this be happening?

~|
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:188975
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


Re: FB4 on CFMX problem with set

2004-12-29 Thread Sean Corfield
On Thu, 30 Dec 2004 12:21:44 +1100, Duncan I Loxton
[EMAIL PROTECTED] wrote:
 By using the relocate does FB wipe the request out and assume its a
 new one? Why would this be happening?

relocate .. type=client/ stops execution of the current event and
sends a redirect command back to the browser, which then initiates a
new request. Like cflocation.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 6 invites to give away!

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188977
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


FB4 on CFMX problem with set

2004-12-28 Thread Duncan I Loxton
Hi everyone, I wonder if you might be able to help me here.  I am
having trouble with the following:
This is in the circuit.xml in my login/model circuit

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??

-- 
Duncan I Loxton

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188906
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=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: FB4 on CFMX problem with set

2004-12-28 Thread Michael T. Tangorre
 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