Page 1 of 1

zzsys_user_id in objects

Posted: Thu Aug 25, 2011 6:23 pm
by zazzium
I cant get a user ID with #zzsys_user_id# in subform object SQL ..according to wiki it should work.
Any ideas?

Edit: Actually I cant get any Session Hash Variables in objects SQL (and Default Value SQL)

Thanks,
zazz

Re: zzsys_user_id in objects

Posted: Mon Aug 29, 2011 9:04 am
by admin
zazzium,

It seemed to work for me (I also tried another user's login and that worked too).
Capture.PNG
Does this graphic help?

Steven

Re: zzsys_user_id in objects

Posted: Mon Aug 29, 2011 12:53 pm
by zazzium
oh no.. i'm screwed

Image
this test should display 'globeadmin'

..i have messed up something

Re: zzsys_user_id in objects

Posted: Tue Aug 30, 2011 8:09 am
by admin
zazzium,

I'm not sure whats going on.

It works for me in text and textarea.
(it will only work for new records)
Capture.PNG


Steven

Re: zzsys_user_id in objects

Posted: Wed Aug 31, 2011 12:21 am
by zazzium
Its embarrassing but my PHP register globals was turned off.
(I'm surprised that I havent encountered any other side-effects from that)
After turning it on, Session Hash Variables working fine in object SQL.

Thanks Steven for your replies!

Re: zzsys_user_id in objects

Posted: Thu Sep 01, 2011 8:03 am
by admin
.