I have this php code to check for a specific cookie,
if(isset($_COOKIE['user']) && $_COOKIE['user'] == 'test12345'){
// logic
}
else {
// more logic
}
If I manually set the cookie value ‘user’ to ‘test12345’ it shows up in the browser devtools and burpsuite when I check the request, but it doesn’t trigger the if statement, only ever does the else statement. For more context, site is HTTP, and this is a post request and I’m using firefox. Is the syntax in burpsuite correct? or is something else wrong? Any ideas?