prashi123 wrote:
> A registered user logins and he is directed to his
account page, where he can
> edit his billing address, shiiping address, email,
password,etc....
The Log In User server behavior creates a session variable
called
$_SERVER['MM_Username']. Use this variable to control
everything seen by
the user after logging in. You can get the user's ID by
creating a
recordset in the Simple Recordset dialog box. Select the ID
and use
Session Variable and MM_Username as the filter.
Once you have the user's ID, save that as a session variable
to control
the rest of the operations.
$_SESSION['user_id'] = $row_recordsetName['user_id'];
--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/