From: | Michele |
To: | FoxInCloud support |
I'll test it better, but it seems to work.
Thanks
OK,
please try to add 'User' to the coma-delimited list of properties defined in yourForm.wcPropSave, at whatever level this property is defined (probably xxx.vcx)
PN
CAPTION
DATASESSION
WCDSFORM
WLMODAL
WLSUBFORM
WNDATASESSIONID
WUPK
WUVALUE
Ciao Michele,
Can you do this
SELECT PN;FROM"<path to your app root>\temp\getuser_scx_ini.dbf"; WHERE NOT Empty(PN) AND BC = 'Form ';ORDER BY 1;TOFILE"<path to your app root>\temp\getuser_scx_ini.txt"_cliptext = filetostr("<path to your app root>\temp\getuser_scx_ini.txt")
and post the result here?
thanks
I try to better explain my situation:
App 1
Main.Scx
Property User
2 buttons: the first to call getUser.scx; the second to display ThisForm.User property
I run the app and i call it from two different browsers and i enter on each browser with two different usernames
After i logged in the thisform.user has two different values corresponding to the users i logged in
App 2
Main.Scx
Property User
2 buttons: the first to call getUser.scx; the second to display ThisForm.User property
I run the app and i call it from two different browsers and i enter on each browser with two different usernames
After i logged in the thisform.user has the same values of the last user logged in
I don't remember if i done different things on the two apps, but it doesn't seem...
In Main.scx i have a user_Define method where i set some data on the main.scx
My doubt are: how App1 works is correct or it works fine but it is a case ?
How do i do to solve a problem like mine that is normal for a web application ?
I'll wait your explanation .....
I'll install 1.30 now...
we should be able to post some more explanations later today.
please give us your feedback on V1.30 shipped yesterday !
I do the same in the two apps.
I find wwuserset and wwwuserget in xxxserver, but they are method of xxxprocess (or similar) but i don't find that object in my app
you may search in yout project using code references
No. I set only one property in my form. Where do i
Find these functions?
do you call .wUserSet() and .wUserGet()?
At the moment i have two app running with FIC. In both i have a main form where i call an identifcation form, that returns the user id that i set in a property of the main form and that i pass to every new called form.... In the first app it works fine....If i enter with a user i see only records of this user and if i read the user property it is correct and it is correct even if i enter in the same app from another pc with another user and obviously on the other station user is correct....With the second app it doesn't work in the same way even if i have given the same structure.....When i enter with the second user even the first browser see the new user id and loose the first one with which i enter.....Why ? Do i miss something ?