Since, the web is stateless. And you need to play according to the "sandbox"
rules.  What we do is have a LOGIN screen and if it is successful  we create
a "COOKIE" on the user session that stores a unique key that is retrieved
from the LOGIN validation database. Depending on the HTML page and Query we
can use the cookie to determine who the customer is, so as to only retrieve
their info.


> -----Original Message-----
> From: Womack, Adrian [SMTP:[EMAIL PROTECTED]
> Sent: Friday, January 28, 2005 12:49 AM
> To:   u2-users@listserver.u2ug.org
> Subject:      [U2] [UV/Redback] How can my UV code determine the redback
> user name?
> 
> Another question from a Redback newbie.
> 
> There's a file "WWUSERS" that contains a list of redback user names (eg.
> RBADMIN). I can create new users in this file and assign them a
> password.
> 
> Using the RBOScope examples supplied, I can connect using one of these
> user names & password. 
> 
> I've created a new UV subroutine that is called via the POSTWRITE method
> on one of the objects. What I'd like to do is access the username so I
> can add it to any audit records I may write.
> 
> I've noticed that @LOGNAME & @ACCOUNT are both blank but @AUTHORIZATION
> contains "redback". Is there a variable (or a getProperty method) that I
> can use to determine the user who connected?
> 
> AdrianW
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to