Emen
|
| Posted: 05/27/2005, 1:58 PM |
|
i have 3 tables for this project, user, data1,data2
one table is user infor like username and password etc
i want a user to only be able to update or change thier own profile which is from user table and all users to be able to update the other two tables(data1,data2)
link to tutorial or instructions will be appreciated.
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 05/28/2005, 12:09 AM |
|
Emen,
I think it is enough to restrict access to a page with form that outputs data of "user" table. When user logs in his user ID is stored in a session variable UserID (by default). You can use this session variable as WHERE parameter for a form to open only a record of logged in user. Here are sample settings for WHERE parameter
Field
Name: user_id_field_name
Type: Integer (usually)
Parameter Source
Name: UserID
Type: Session
_________________
Regards,
Nicole |
 |
 |
Fritz
|
| Posted: 05/30/2005, 9:04 AM |
|
I am looking to do something very similar, except I will only have the user table with additional info.
I plan to collect data from users and have it sent to me on completion (Submit Button).
I really want to create a hands off approach and even have the "Password" sent or reset if forgotten. Are there any tutorials that might point me in the right direction.
I am starting with PHP or ASP. I can program in vb now.
|
|
|
 |
Fritz
|
| Posted: 05/30/2005, 9:04 AM |
|
I am looking to do something very similar, except I will only have the user table with additional info.
I plan to collect data from users and have it sent to me on completion (Submit Button).
I really want to create a hands off approach and even have the "Password" sent or reset if forgotten. Are there any tutorials that might point me in the right direction.
I am starting with PHP or ASP. I can program in vb now.
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 05/31/2005, 5:43 AM |
|
Fritz,
Have you referred to existing posts related to forgotten password functionality? http://forums.codecharge.com/search.php?s_keyword=Forgo...[]=21&s_period=
_________________
Regards,
Nicole |
 |
 |
|