开发者

Url rewrite question

When you have done your url rewrite for a url what happens when you use your code behind file and use request.querystring when there aren't any cos you开发者_运维百科 url has been re-written. I haven't implemented url re-writing yet and want to.


Well, not sure if I understand your question...

If you use url rewriting the user sees on the browser a url like this one

www.yourdomain.com/category1/product1

While you see on the code behind something like this

www.yourdomain.com?cat=1&prod=1

The friendly url is converted to the "ulgy" format before reaching your page logic, so the querystring will be there and ready to be processed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜