Gossamer Forum
Home : Products : DBMan : Customization :

passing varible to main page

Quote Reply
passing varible to main page
Hello,
I'm trying to pass to the main page after login the person first name. I can pass the user_id but it just a number. what i would like is this,

Welcome First Name, thank you for visiting us today..............................

I did this once before, but for the life of me i can not remember how I did it.Unsure

Could any help? Thank you.
Quote Reply
Re: [knue] passing varible to main page In reply to
Just some random thoughts...

Wouldn't you have to pass that along from the password file? (or at least ask them for that info on the login page...)

if not, then you'd have to have a relational db of names that correspond with usernames...

Maybe you can use the cookies mod?
Quote Reply
Re: [Watts] passing varible to main page In reply to
I have this site setup so the user only needs a Unique ID number. Once they enter that number it brings up there information from the data base. I'm hoping I could use something like $rec{'full_name'}" to call up there name. How would the relational db work?
Quote Reply
Re: [knue] passing varible to main page In reply to
Check out the FAQ located at:
http://redundantcartridge.com/dbman/

Look under "viewing" and on the 2 page is a link titled displaying user name on home page. I think this is what you are looking for...