• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Auto-logout upon re-login

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
6 posts • Page 1 of 1

Postby King Moonraiser » Fri Jun 22, 2007 10:05 pm

Is there a setting to force off an existing user if another user is attempting to log in with the same name?

I've integrated phpfreechat with phpBB, so the usernames ought to be valid on login. Of course, I wouldn't want people to get forced off by someone doing a nick change.

(Why don't I just freeze the nicks? Because of the bug in the beta 10).
King Moonraiser
Member
 
Posts: 98
Joined: Fri Jun 22, 2007 9:42 pm
  • Website
Top

Postby phpfreechat » Sat Jun 23, 2007 11:09 am

What is the bug with frozen_nick in 1.0-beta10 ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby King Moonraiser » Sat Jun 23, 2007 2:52 pm

kerphi wrote:What is the bug with frozen_nick in 1.0-beta10 ?

This: http://www.phpfreechat.net/forum/viewtopic.php?id=1441

I'm experiencing the same issue.
King Moonraiser
Member
 
Posts: 98
Joined: Fri Jun 22, 2007 9:42 pm
  • Website
Top

Postby zoidberg » Wed Jun 27, 2007 5:30 am

i do too. =(

i think that it come due to cache.

lets consider that i log with the nick 'aaa', it logs perfrecty.

now i /quit 'aaa' and try to log with 'bbb', it logs 'aaa' back and it warns about nick changes.

its seems that it recognize session id and reconnect. or something like that.

beside that, this chat is pretty cool. =)
zoidberg
New member
 
Posts: 2
Joined: Wed Jun 27, 2007 5:09 am
Top

Postby King Moonraiser » Wed Jun 27, 2007 5:46 am

zoidberg wrote:i do too. =(

i think that it come due to cache.

lets consider that i log with the nick 'aaa', it logs perfrecty.

now i /quit 'aaa' and try to log with 'bbb', it logs 'aaa' back and it warns about nick changes.

its seems that it recognize session id and reconnect. or something like that.

beside that, this chat is pretty cool. =)

The solution kerphi is going to say is to use

Code: Select all
$params["frozen_nick"]  = true;

which is fine for me since I get my nicks from the phpBB account names. I don't need to worry about conflicts since phpBB is guaranteeing that my nicks are unique.

However, if the user did something silly, like enter chat on their home computer and left the window open, they will NEVER be able to log back into the chat until that first window is closed. I'd like to find a way to kill the old session if a new one is trying to take its place.
Last edited by King Moonraiser on Wed Jun 27, 2007 6:03 am, edited 1 time in total.
King Moonraiser
Member
 
Posts: 98
Joined: Fri Jun 22, 2007 9:42 pm
  • Website
Top

Postby zoidberg » Wed Jun 27, 2007 2:16 pm

King Moonraiser wrote:The solution kerphi is going to say is to use

Code: Select all
$params["frozen_nick"]  = true;

which is fine for me since I get my nicks from the phpBB account names. I don't need to worry about conflicts since phpBB is guaranteeing that my nicks are unique.

However, if the user did something silly, like enter chat on their home computer and left the window open, they will NEVER be able to log back into the chat until that first window is closed. I'd like to find a way to kill the old session if a new one is trying to take its place.

well, i do frozen_nick and it work well. so well that a computer wont be able to change to another nick. =)

i think that the solution have show up in How to destoy session. =)

i use loggin from phpbb to ensure that nicks are already registered. i dont need much security though but i think theres a problem there. =)
Last edited by zoidberg on Wed Jun 27, 2007 2:22 pm, edited 1 time in total.
zoidberg
New member
 
Posts: 2
Joined: Wed Jun 27, 2007 5:09 am
Top


Post a reply
6 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 14 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub