Gossamer Forum
Quote Reply
changing usernames
I am implementing a feature on my site that will allow users to change their usernames.

What I do now:

1) update the username to the new username (fk tables are updated automatically, I noticed with a smile),
2) change the username in the session file (session id stored in cookie or url)

Is this OK, or do I have to take some more things into account? (Of course there are a few checks, like if the new username does already exist).

Thanks for any help on this.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] changing usernames In reply to
This could cause incompatibility with some plugins, including my own.

For example: Editor monitor creates its own tables based on the usernames of editors. It does not re-check the usernames (as it does not need to currenty) unless an editor is added or removed from the system.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] changing usernames In reply to
Hi Ian

if you have set up Editor monitor properly (Wink), then you have the username field in your table as a foreign key to Username in the Users table. If this is the case, it will be changed automatically.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] changing usernames In reply to
I posted for help on fk's. I am still stuck with it. Care to help? LOL

Actually, I am re-writting EM for a completey new version... when my computer gets up and going again, i'd like to work out how to make this happen.


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Aug 20, 2002, 8:54 AM