473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Cookie not appearing in Temp Folder

Can anyone explain why my cookie is not appearing in the Temporary Internet
Folder on my PC?

It sets OK and I can test it put when I go to the folder it's not actually
there?

I am using the following code ...

$cookie_data = $value1 . '#' . $value2;
setcookie ("mycookie", $cookie_data, $time + 2419200);

and then ...

if (isset($_COOKIE['mycookie']))
{
$cookie_data = explode("#", $_COOKIE['mycookie']);
$value1 = $cookie_data[0];
$value2 = $cookie_data[1];
}

Thanks,

Paul.
Jul 17 '05 #1
2 1563
*** Paul Charlton-Thomson wrote/escribió (Sun, 26 Jun 2005 23:07:19 +0000
(UTC)):
Can anyone explain why my cookie is not appearing in the Temporary Internet
Folder on my PC?

It sets OK and I can test it put when I go to the folder it's not actually
there?

Each browser has its own system to store cookies. User doesn't need to care
about it. Furthermore, if you edit the cookie jar with notepad you'll
probably spoil it.
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Jul 17 '05 #2

"Alvaro G Vicario" <al******************@telecomputeronline.com> wrote in
message news:1x*******************************@40tude.net. ..
*** Paul Charlton-Thomson wrote/escribió (Sun, 26 Jun 2005 23:07:19 +0000
(UTC)):
Can anyone explain why my cookie is not appearing in the Temporary
Internet
Folder on my PC?

It sets OK and I can test it put when I go to the folder it's not
actually
there?

Each browser has its own system to store cookies. User doesn't need to
care
about it. Furthermore, if you edit the cookie jar with notepad you'll
probably spoil it.


If the cookie is defined as session temporary then most browsers will not
bother writing it to disk, it will stay in memory until the session ends.

--
Tony Marston

http://www.tonymarston.net

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: bagsmode | last post by:
Hi, I'm trying to set a session cookie and then redirect, however I get the error: Status: 302 Moved Location: /index.cgi I thought I recall getting an error like this when I first tried...
1
by: Display Name | last post by:
Used one of these canned scripts to set up a JS quiz but not before having used another canned PHP script for "Tell your friend about this Web page!" sort of thing. Now i've gotta integrate them;...
4
by: Asad | last post by:
I am trying to get a cookie going on my site. Here is the code first: function setCookie() { if(document.cookie == "") { var someDate = new Date("December 31, 2023"); var expiryDate =...
12
by: Jason Shohet | last post by:
I've asked this on the asp ng, but couldn't get any advice, wondering if anyone here can help... GOAL: place a .NET cookie, in a user's cookie folder, containing the machinename of the current...
2
by: Mohammad A. Samara | last post by:
Hello everyone, Does anyone know how to get rid of the cookies when the internet explorer window is closed after we use Forms authentication mode in the web.config file? I use <authentication...
1
by: jerry.xuddd | last post by:
Hi, I tried to use HttpCookie in my code and it seems that by default it is a session cookie (dispear after user close the browser). Can someone tell me how to create a presist cookie? Also...
2
by: rn5a | last post by:
A web.config file has the following code: <configuration> <system.web> <authentication mode="Forms"> <forms name="NETConnectCookie" loginUrl="Login.aspx"> <credentials passwordFormat="SHA1"/>...
4
by: rodmc | last post by:
Hi, I am trying to set a cookie on a client computer using the Cookie module however all I get is the text being printed in the browser window. Can anyone point me in the right direction so that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.