Comments (6)
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.
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.
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.
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.
I wasn't able to check this out today. I will try to test it tomorrow.
from raygun4php.
Was just able to check it out - looks like the error I was receiving before is now gone.
from raygun4php.
Related Issues (20)
- Continue logging errors locally to error_log
- Issues when bundled in a phar archive HOT 4
- Use Guzzle instead of cURL HOT 1
- Add error bundling to help deal with high traffic
- JSON schema HOT 1
- Invalid characters passed for attempted conversion HOT 5
- "Couldn't send asynchronously" error HOT 2
- Deprecated: Invalid characters passed for attempted conversion, these have been ignored HOT 2
- Exclusion of sensitive data HOT 10
- UTF-8 encoding not working
- UTF-8 encoding not working on v1.8 for php 5.3+ HOT 3
- Exclude all form data HOT 2
- Provide a way to filter out IpAddress
- Raygun doesn't actually report the file name and line number of the actual error, which is the most important part. HOT 5
- Incorrect no. params passed to ErrorException HOT 3
- escapeshellarg(): Input string contains NULL bytes HOT 1
- Potential breaking change for rhumsaa/uuid HOT 2
- Illegal string offset in PHP7.1 HOT 1
- iconv(): Detected an illegal character in input string HOT 3
- Errors sent with SendError don't look similar to SendException
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 raygun4php.