Git Product home page Git Product logo

Comments (4)

BrennanConroy avatar BrennanConroy commented on September 23, 2024 1

is there any possibility to overcome this issue?

What issue? You aren't leaking any data because the data has already been sent to this client before.

from samples.

BrennanConroy avatar BrennanConroy commented on September 23, 2024

That's expected, the messageID is used by the client to tell the server which message it received last. So if you change the messageID to an older ID then you'll get messages since that older ID.

And the concern about auth is not valid because your connection is authenticated via the connectionToken in the query string.

Also, if that's real data you should probably reset the SessionTokens and Login IDs.

cc @halter73

from samples.

halter73 avatar halter73 commented on September 23, 2024

And the concern about auth is not valid because your connection is authenticated via the connectionToken in the query string.

Additionally, if the authenticated user has a non-empty Context.User.Identity.Name that IsAuthenticated when the SignalR connection is established, SignalR will verify every other request with that same connectionToken is authenticated with the same user name or else it will reject the request with a 403.

https://github.com/SignalR/SignalR/blob/d5a2dcb9e09ec97631a4f51b4dc7b75735277ca4/src/Microsoft.AspNet.SignalR.Core/PersistentConnection.cs#L339-L344

from samples.

Btotakura avatar Btotakura commented on September 23, 2024

That's expected, the messageID is used by the client to tell the server which message it received last. So if you change the messageID to an older ID then you'll get messages since that older ID.

And the concern about auth is not valid because your connection is authenticated via the connectionToken in the query string.

Also, if that's real data you should probably reset the SessionTokens and Login IDs.

cc @halter73

is there any possibility to overcome this issue? please suggest me? if any code changes is needed i will try to do , please help on this?

from samples.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.