English 中文(简体)
如何为所有网站设置一个网站的网址?
原标题:How to set a php session cookie to all websites?

i m 只给我的客户网站打上类似词,而且 i wan t to put the cookies to Save the information to all areas (and not only area mydomain.com or subdomains .mydomain.com, i mean all.

Code Sample:
setcookie( var_name , var_value , null, "/", .mydomain.com );

Can anybody help me?
Thanks

最佳回答

你们可以在许多网页上利用一机向特定用户分享和展示同样的信息。 这使谷歌Asense和其他许多广告解决方案是如何运作的。

问题回答

我们不能为外国领域 set。 这将是严重的安全漏洞。 仅想像session fixation。 这将是。

大多数这类工作的跟踪系统,将图像或某些其他物体纳入从贵领域服务的参与地点。 此时,你可以从你所控制的唯一领域发布厨师,并通过在你的网络要求上观察推荐数据跟踪用户。

由于物体从贵领域获得服务,因此不需要你再次要求的交叉主线,因为不可能这样做,这很幸运。





相关问题
why the session in iis automatically log out?

I used iis6, and when i called a function Directory.delete(), the all the session relate this website will be logged out. and i debugged the website, i found no exception. any one have ideas on this ? ...

Check session from a view in CodeIgniter

What is the best way to check session from a view in CodeIgniter, it shows no way in their user guide, otherwise I will have to make two views on everything, which is kinda weird...still a newbie to ...

Can I get the size of a Session object in bytes in c#?

Is it possible to get the size(in bytes) of a Session object after storing something such as a datatable inside it? I want to get the size of a particular Session object, such as Session["table1"], ...

提供严格分类的出席会议物体

提供严格分类的与会机会的最佳方式是什么? 我正计划转而选择矩阵,这正在促使汇编者抱怨我的幻觉方案拟订方法......

PHP Session is not destroying after user logout

I m trying to create an authentication mechanism for my PHP Application and I m having difficulty destroying the session. I ve tried unsetting the authentication token which was previously set within ...

热门标签