搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Cookies not sent back to server

  • 2 回覆
  • 4 有這個問題
  • 5 次檢視
  • 最近回覆由 blamara

more options

Server sends 'sessionid' as cookie, and Mozila works fine, cookie is returned back.

Due problem of multiple services (sites) on same web server I've decided to rename 'sessionid' cookie name to 'vdssessionid'. Now FireFox simply ignores this cookies nothing is sent back, even if I see in Web Console that this cookie is originaly sent to FireFox, nothing is returned back.

in other browsers this works fine.

FF version 22.0 (updated today)

Server sends 'sessionid' as cookie, and Mozila works fine, cookie is returned back. Due problem of multiple services (sites) on same web server I've decided to rename 'sessionid' cookie name to 'vdssessionid'. Now FireFox simply ignores this cookies nothing is sent back, even if I see in Web Console that this cookie is originaly sent to FireFox, nothing is returned back. in other browsers this works fine. FF version 22.0 (updated today)

所有回覆 (2)

more options

You should be able to name cookies any way you like. If you check the list of cookies sent with the page, is the cookie present? To access the page's cookie list in regular mode (might not work in private mode), you can do any of these:

  • click the site identity icon (lock or globe) > More Information > "View Cookies"
  • right-click and choose View Page Info > Security > "View Cookies"
  • Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"

It's more difficult to see the cookies that Firefox is sending back to the server on the next GET or POST. You can use an extension (e.g., Firebug) or an external proxy (e.g., Fiddler) for that.

由 jscher2000 - Support Volunteer 於 修改

more options

>>> even if I see in Web Console that this cookie is originaly sent to FireFox, nothing is returned back.

"Web Console" has integrated network (HTTP) analyzer with all headers. Why would I download another addon for firefox when I have one that works, or it doesn't!?

My appologies forgot to mention this is Ajax (HTTPXMLRequest) that was communicating with server. And in response to Ajax request server responded with this cookie. Also in response as content was relative redirection URI that is set with top.location = ajax.response;

Maybe something in this mechanism confuses FireFox, but I highly doubth. As same mechanism works just fine when cookie name is 'sessionid'.