I'm not 100% sure I understand your question.

If their Session variable is a field that is different from their name, you
don't have to do anything special.  Just update the database as needed.  If
your SessionID IS their name, you might want to look into assigning the
Session variable a value from a field that can't be changed .. perefferably
a field with a value unique to that person.  Or, to simply make the Session
variable match the new name, just set the session variable to the new name
right after it is updated in the database.

Todd Ashworth

----- Original Message -----
From: "Craig A. Zingerline" <[EMAIL PROTECTED]>
To: "cf-talk" <[EMAIL PROTECTED]>
Sent: Friday, July 14, 2000 2:48 PM
Subject: Session Management question


| Hello,
|
| I have an application that allows a user to log in, and once authenticated
| and logged in, their accountID is pulled from the database table and is
set
| in a session variable.  From this, I want to display a welcome message
| saying something like 'Hello, [contact name], you receive a [discount] %
| discount.'  Both the contact name and discount are stored in the table,
| along with their AccountID.  My question is this:  If I want to allow that
| user to be able to change their name while logged in, how do I make sure
| that the session variable for the name is updated when they make a change?
| I have had problems trying to get this to work. Thanks for any help.
|
| Sincerely,
|
| Craig


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to