:當用戶訪問我的網頁麻煩與網頁製作
,他們的地址欄會顯示沒有陪同ID唯一的URL,例如http://127.0.0.1/client
每當他們刷新頁面時,真正請求的URL將附上ID。例如:http://127.0.0.1/client?id=3
此前,我試過使用隱藏的輸入標籤,但它沒有結果。任何想法?
我標記低於
<html>
<head>
<meta http-equiv='refresh' content='1,url=/client'>
</head>
<body onload="JavaScript:setTimeout('location.reload(true);',0);">
<input type="hidden" name="id" value="3" />
</body>
</html>
什麼決定了id值? – mellamokb
你真的是指「刷新」,或發佈? – bfavaretto
請分享您的代碼。 –