Ah, that's exactly what I needed!

thanks

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aparajita
Fishman
Sent: Monday, November 07, 2005 2:15 PM
To: [EMAIL PROTECTED]
Subject: Re: [Active4d-dev] login question

> If you click on vendors, it requires a username/password. In the login
> folder, there is qry_validatelogin.a4d with a variable f_username.
>
> Is there a way to access the value of f_username down in say
> qry_selectmany.a4d in the app/vendors folder?

If you look at act_processLogin.a4d, you'll see I store the user's  
full name in the session when they successfully log in. You could  
store the username as well, or you could do a query from the session 
{"user.id"}, or you could store a persistent RowSet with the current  
user.

Regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoylibrary.com


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to