Questo sito potrebbe offrire funzionalità limitate durante le operazioni di manutenzione per migliorare l'esperienza utente. Se un articolo non risolve il tuo problema e vuoi richiedere supporto, la nostra comunità di supporto è pronta ad aiutarti tramite @FirefoxSupport su Twitter e /r/firefox su Reddit.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Why is Firefox 8 returning (undefined) for a Response.write Request.cookies query in JavaScript?

  • 1 risposta
  • 3 hanno questo problema
  • 6 visualizzazioni
  • Ultima risposta di cor-el

more options

I am an IT student. In my classic asp course I was tasked with creating, and then displaying the contents of a cookie in javascript. I use the server-side code Response.Cookies("registration")("UserName") = Request.Form("txtUserName"); to set the cookie name, key, and value. Then Response.write (Request.cookies("registration")("UserName")); to display it. This works fine in other browsers, even the previous versions of Firefox installed on the computers at school, but returns "undefined" on my home machine (Windows 7 - 64bit). I just updated to ver 9.0.1, allow all cookies, allow javascript. This is the first time in two years of school that I have found IE would do something I wanted and Firefox wouldn't. Any suggestions? Thanks. Matt

I am an IT student. In my classic asp course I was tasked with creating, and then displaying the contents of a cookie in javascript. I use the server-side code '''Response.Cookies("registration")("UserName") = Request.Form("txtUserName");''' to set the cookie name, key, and value. Then '''Response.write (Request.cookies("registration")("UserName"));''' to display it. This works fine in other browsers, even the previous versions of Firefox installed on the computers at school, but returns "undefined" on my home machine (Windows 7 - 64bit). I just updated to ver 9.0.1, allow all cookies, allow javascript. This is the first time in two years of school that I have found IE would do something I wanted and Firefox wouldn't. Any suggestions? Thanks. Matt

Tutte le risposte (1)

more options

A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25