Giter Site home page Giter Site logo

Comments (6)

CmdrKeen avatar CmdrKeen commented on May 23, 2024

Valid feedback, thanks Matt.

Effectively, if there's no session, we'd still like to obtain some sort of unique identifier for the session, but perhaps falling back to setting a GUID in the client for the duration of the request would be enough (or we could allow you to call to set the session id later? Would that help?). Ideally we want to get a system that "just works" but certainly we need to respect the various frameworks.

Thanks again for your feedback, let me know if you have any further thoughts with regards to what I've mentioned 👍

from raygun4php.

mrardon avatar mrardon commented on May 23, 2024

Would a simple cookie not work? This would not interfere with sessions (chartbeat uses something like _chartbeat2 to track a user and google analytics uses a few cookies for the goal). Not sure if this would serve the purpose or not as I haven't really looked into all of what the user tracking is doing (I already send user information in the custom data portion).

from raygun4php.

CmdrKeen avatar CmdrKeen commented on May 23, 2024

Cookies would work for client side work, yes, but we're looking to track the backend session as well so when we send data we can connect information.

To give you a clearer picture of where this is going: Our goal is to eventually let you see an exception, but then seen the flow the user took to get to that stage. Stack traces and environment variables are helpful, but understanding their overall way of getting to the fault can assist too (I know personally I've had those errors where you're left scratching your head thinking "there should be no way they could get into this state?!").

Cookies do seem like the smarter plan, I'll have @fundead look into that today (he maintains the PHP provider).

from raygun4php.

fundead avatar fundead commented on May 23, 2024

Thanks for the heads up on how Chartbeat & GA handles this. The above branch has a candidate fix for this issue to set a cookie instead and it appears to be working fine locally. If you could verify that it works with your environment I'll get it merged into Master.

from raygun4php.

mrardon avatar mrardon commented on May 23, 2024

I wasn't able to check this out today. I will try to test it tomorrow.

from raygun4php.

mrardon avatar mrardon commented on May 23, 2024

Was just able to check it out - looks like the error I was receiving before is now gone.

from raygun4php.

Related Issues (20)

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.