Gossamer Forum
Home : Products : DBMan : Customization :

Userids, passwords

Quote Reply
Userids, passwords
Is there a way to write the userid created when a new user signs up into the database into a hidden field? I know we can set authentication so that only a registered user can modify his/her own record. But how do I get the userid into the database when the user creates the id and password at signup?
Quote Reply
Re: Userids, passwords In reply to
It is automatically inserted when a user adds a record, as long as you have the $auth_user_field set to the correct field number. This setting is in your default.cfg file.


------------------
JPD





Quote Reply
Re: Userids, passwords In reply to
Thanks -- this is helpful. I can understand when adding a record I think --

Does this mean that I send a used to the signup page -- he/she signs up and creates a new account -- the id and pw go into the default.pass file (or mydb.pass file). Now lets say I want to view other records and logoff. Then tomorrow I come back, logon to the db and then want to add/modify my record. Does my userid automatically to into the userid designated field?

Thanks