...
There are various methods for investigating this.
View Results Tree Listener
This can be used to show the cookies that are received and sent.
Browser add-ons
Some browsers have add-ons that allow one to log the HTTP requests and responses. The JMeter Tree View Listener shows the same data; comparison of the two should show where the JMeter test needs to be modified.
...