Comments (4)
It is even the same when i login with one person and in incognito mode i login with different person then in 1st login i didn't see the name of 2nd person who login.
Thanks.
from signalr-chat.
Hello, i tried to simulate your problem and i used 3 browsers (Chrome, Edge, and Firefox). I also tried to register/login with 3rd account in icognito mode and i had no problem.
If this happens only in feature/dm branch (now deleted), and in private chat window, sorry i can't provide any solution for it as it was an unofficial-fast solution.
If youre using an older version, please:
- Re-create the database
- Delete cookies from your browsers
If you refering to the 1-2 seconds delay before showing the profile avatar/name when you login, this is normal as it waits server to get the profile info. You can just hide all profile section or add some spinner while data user profile data loading. Again it was working fine and i had not to F5.
from signalr-chat.
I'm trying with latest code and everything recreated and delete cookies but still issue is their,
can you show me the code where other Online users are get to know the new user is arrived and you were adding them into the existing online users list?
from signalr-chat.
Everything is in ChatHub.cs
When an user joins to a room it sends message to the other users in the previous room to remove this user. Then it notifies users in new room to add this user.
Join method:
await Clients.OthersInGroup(user.CurrentRoom).SendAsync("removeUser", user);
await Clients.OthersInGroup(roomName).SendAsync("addUser", user);
Currently you can have one user only in one room. It does not support multiple rooms. (if you have logged in from the same account from multiple browsers)
from signalr-chat.
Related Issues (15)
- user doesn't remove while signout time HOT 4
- SQL HOT 3
- update HOT 8
- error on getusers HOT 2
- Is your 'project' designed to basically work within Visual Studio? HOT 1
- Private messages not saved HOT 4
- One small suggestion, ie. improvement. HOT 1
- delete message HOT 4
- no single chatroom HOT 8
- private message
- Deployment HOT 1
- Problems with Getting Started HOT 2
- web demo and private chat HOT 1
- .Net Core version? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from signalr-chat.