Topic: 访问页面求助???? |
Print this page |
1.访问页面求助???? | Copy to clipboard |
Posted by: mengxiangjava Posted on: 2008-10-31 15:46 在淘宝上买东西时,当我没有登陆时点击“立即购买”,它会转向登陆页面,而我登陆后,他会直接返回刚才立即购买的页面,而不是“我的淘宝”页面。这个功能是怎么实现的呢??????????我用的是jsp帮帮忙!!!!!!!!! |
2.Re:访问页面求助???? [Re: mengxiangjava] | Copy to clipboard |
Posted by: xuxiaolei Posted on: 2008-11-01 12:00 HTTP 1.1 Request Headers Referer This header indicates the URL of the referring Web page. For example, if you are at Web page 1 and click on a link to Web page 2, the URL of Web page 1 is included in the Referer header when the browser requests Web page 2. Most major browsers set this header, so it is a useful way of tracking where requests come from. This capability is helpful for tracking advertisers who refer people to your site, for slightly changing content depending on the referring site, for identifying when users first enter your application, or simply for keeping track of where your traffic comes from. In the last case, most people rely on Web server log files, since the Referer is typically recorded there. Although the Referer header is useful, don't rely too heavily on it since it can easily be spoofed by a custom client. Also, note that, owing to a spelling mistake by one of the original HTTP authors, this header is Referer, not the expected Referrer. 《Core Servlets and JavaServer Pages™: Volume 1: Core Technologies, 2nd Edition》 |
3.Re:访问页面求助???? [Re: mengxiangjava] | Copy to clipboard |
Posted by: guooo Posted on: 2008-12-15 08:51 taobao保存了你事先访问的页面的路径,登陆后就会去寻找刚才保存的路径。 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |