了解Cookie [英] Understanding Cookies

查看:67
本文介绍了了解Cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我一直在尝试让Cookie工作。看来我可以把这个cookie带到浏览器中,但是我想把它写在我的Cookies文件夹中。

我尝试了很多变化但是当我查看时文件夹没有什么

来自我的域名。

这是一个简化的版本但是,我尝试了很多东西。

我是什么缺少?

是的我允许所有的饼干

谢谢

Mike

Hello,
I have been trying to get cookies to work. It seems I can get this cookie to
be persistant in the browser but I want to write it to my Cookies Folder.
I have tried many variations but when I look in the folder there is nothing
there from my Domain.
This is a simlified version but, I have tried many things.
What am I missing?
Yes I allow all cookies
Thanks
Mike

推荐答案

On Tue,2005年11月8日01:17:09 GMT,Mike <上午****** @ verizon.net>写道:
On Tue, 08 Nov 2005 01:17:09 GMT, "Mike" <am******@verizon.net> wrote:
我一直在尝试让cookie工作。似乎我可以让这个cookie在浏览器中持续存在但是我想把它写到我的Cookies文件夹中。
我尝试了很多变化但是当我查看文件夹时没有什么
来自我的域名。
这是一个简化的版本但是,我尝试了很多东西。
I have been trying to get cookies to work. It seems I can get this cookie to
be persistant in the browser but I want to write it to my Cookies Folder.
I have tried many variations but when I look in the folder there is nothing
there from my Domain.
This is a simlified version but, I have tried many things.




你有什么尝试?


大概你已阅读并按照
http:/ /uk.php.net/setcookie

-

Andy Hassall :: ** ** andyh.co.uk :: http:// www.andyh.co.uk
http:// www .andyhsoftware.co.uk / space ::磁盘和FTP使用情况分析工具



What have you tried?

Presumably you have read and followed the examples at
http://uk.php.net/setcookie ?
--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool


是的,

这是一个完美的例子;

<?php
Yes,
Heres a perfect example;
<?php


value =''来自某个地方的东西';

setcookie(" TestCookie",
value = ''something from somewhere'';
setcookie("TestCookie",


这篇关于了解Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆