It returns a structure consisting of a row of the "user" DB table,
or null if no user was found matching the cookie values (ID, authenticator).
-- David

On 27-Nov-2012 3:06 PM, Rebecca VanderClute wrote:
> This function, get_logged_in_user, is within util.inc. I would like to know
> two things about it:
>
> 1.) What is it returning under normal operation (i.e., the user is actually
> logged in and everything works)? I would like to know if it is returning
> the username, a reference, or the user id, etc.
>
> 2.) What is wrong if it returns "bad URL"?
>
> I couldn't really figure out how it works (since when it didn't outright
> crash the script it was in, it would return "bad URL") and I couldn't find
> any help pages online for it, so I'm a little stuck here. Please help me!
>
> Thank you,
>
> Rebecca V. :)
> _______________________________________________
> boinc_dev mailing list
> [email protected]
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.
>
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to