Gossamer Forum
Home : Products : DBMan : Customization :

Displaying "You are logged in as..."

Quote Reply
Displaying "You are logged in as..."
Hi, all. I just started playing with DBMan after spending a fair amount of time noodling around with Links. Anyway, I know that $db_uid stores the current user authorization string (e.g. fred.12345678). What I would like to do is strip out the session info and get just the user ID (fred). Is there an easier way of doing this?
Quote Reply
Re: Displaying "You are logged in as..." In reply to
Do you mean in the query string? Or do you just want to print the userid in the web page?

Be more specific.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: Displaying "You are logged in as..." In reply to
I think
Code:
$db_userid
is what you're looking for
Quote Reply
Re: Displaying "You are logged in as..." In reply to
Fred got it. Thanks. I thought I had tried that, but I'm glad it worked. Eliot, nice to see a (virtual) familiar face from the Links forum.
Quote Reply
Re: Displaying "You are logged in as..." In reply to
Hello. I use both DBMAN and LINKS in my projects.

Wink

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------