开发者

Zend Sessions: Dealing with http://www.domain.com vs. http://domain.com

What's the best way to handle this? When a user logs in a domain.com, they are logged out on www.domain.com and vice-versa.

Should one always be rewritten to the other with mod_rewrite? 开发者_C百科What is the best practice here?


I have a few domains that all point to the same website, and I bounce people with a HTTP Status 301 (Permanent Redirect) to my preferred domain.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜