Forums

This topic is locked

Restricting users to only update there info

Posted 21 Jan 2003 04:48:44
1
has voted
21 Jan 2003 04:48:44 mark canlas posted:
How do i set it up where a user must type in a username and password and after it has been authenticated then it allows them to go to update there personal record. I know how to use the user authentication behavior in ultradev but after it has been validated it only directs them to a restricted page, I would like it to take them to there personal record to allow them to update it or make changes? how can this bedone?

Replies

Replied 23 Jan 2003 15:53:17
23 Jan 2003 15:53:17 Mitchel Tendler replied:
This is the way I would do it:

- The user logs in for the first time, you capture the USERNAME.

- The user then goes to the PERSONAL RECORD page, when they submit the record, you also submit there USERNAME in a hidden field to the database

- The user leaves and logs in again some other time, they login, they go to the PERSONAL RECORD page to update there record, the page that brings up there information has a recordset that is filtering the records using the USERNAME field, that would restrict them to only there record.

I think it makes sense. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Reply to this topic