MozTW 討論區 https://forum.moztw.org/ |
|
請問為何使用Firefox為預設瀏覽器時,會無法取得Request的值? https://forum.moztw.org/viewtopic.php?f=13&t=30582 |
第 1 頁 (共 1 頁) |
發表人: | vh0817 [ 2010-07-13, 10:29 ] |
文章主題 : | 請問為何使用Firefox為預設瀏覽器時,會無法取得Request的值? |
如果使用email寄送html檔做測試(不是附加檔案) 若是使用firefox為預設瀏覽器時 ASP就無法取得html檔所傳的值 以下是傳值的html檔 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=big5" /> <title>test</title> </head> <body> <form name="form1" id="form1" method="post" action="http://localhost/test.asp"> <input type="submit" name="submit" id="submit" value="submit" /> <input type="hidden" name="ffchk" id="ffchk" value="ok" /> </form> </body> </html> 以下是接值的ASP檔 <% ffchk = Request.From("ffchk") Response.Write "ffchk=" & ffchk & "<br>" Response.End %> 請教版上各位高手 會造成ffchk=空值 是什麼因素所造成的呢? 再麻煩各位高手不吝賜教 謝謝 |
發表人: | BobChao [ 2010-07-19, 08:04 ] |
文章主題 : | Re: 請問為何使用Firefox為預設瀏覽器時,會無法取得Request的值? |
看不太懂,你用 HTML 格式信件寄件,是哪個 client 去收? Gmail? 另外意思是只要 Firefox 不是預設瀏覽器就可以嗎? (由於你是 post 到 localhost 去,也可能是什麼安全性問題,不過基本上我看不太懂你的問題是真的...) |
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |