homepage Welcome to WebmasterWorld Guest from 54.166.66.204
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Password management for both chat and forums
Marcia




msg:672937
 11:05 am on Jan 5, 2002 (gmt 0)

Is there a way to have password management for forums on a site that would also be applicable to chat so both could be administered without duplicate effort?

 

DaveAtIFG




msg:672938
 2:36 pm on Jan 8, 2002 (gmt 0)

If memory serves, there have been other requests for this kind of setup, but no results. At any rate I'll bump the post and we'll hope for suggestions. Anyone??

john316




msg:672939
 2:56 pm on Jan 8, 2002 (gmt 0)

What type of chat ? Applet ?

If so, just put the code that calls the applet in one of the forums that are password protected.

webworkz




msg:672940
 10:05 am on Jan 13, 2002 (gmt 0)

Example:
1. User submits username/password
2. You check for existence (in database, or wherever you are storing data.)
3. You check to see if the password matches the username.
a) Accept login.
b) Reject Login.

IF ($login == "accepted")
{
IF ($selection == "chat")
{
LOAD CHAT APPLET
}

ELSE IF ($selection == "forums")
{
LOAD FORUM SCRIPTS
}
}

ELSE
{
DISPLAY LOGIN ERROR
}

I hope this helped you out in some way. If you are using PHP, you may want to use the session functions which are built-in to the intrepreter. This will make your life a lot easier when passing data between the forums/chat.

Justin Dalrymple snipped

(edited by: DaveAtIFG at 10:18 pm (utc) on Jan. 13, 2002)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved