473,786 Members | 2,849 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

any One say Where the cookie's are stored

HI friends,

# any one say where the cookie files are stored and whats the path and
whats the extension for the cookie files in php,this is client side
variable.can u say the path for cookie

# please any one know about the Cross domain cookie hoe to set the
cookie for one are more domain's. can u say the syntax for the cross
domain cookie

# similarly where the session is stored, this is server side variable
can u say the path for session
Mar 4 '08 #1
2 1750
On Tue, 04 Mar 2008 20:18:27 +0100, Damodhar <da*****@gmail. comwrote:
# any one say where the cookie files are stored and whats the path and
whats the extension for the cookie files in php,this is client side
variable.can u say the path for cookie
The cookie files of which UA or module? For cURL it's configurable, for
UA's you'll have to ask people involved in that/in communities dedicated
to that UA.
# please any one know about the Cross domain cookie hoe to set the
cookie for one are more domain's. can u say the syntax for the cross
domain cookie
Not easily. I usually prefer NOT to do this, however , if you must: you
can _try_ to set a cookie for a different domain, just check the
setcookie() command. However, a lot of UAs security settings will
deny/block the cookie if it isn't from the originating site. I've done it
only once, for very site for which this has to be set I had a
'cookiesetter' script, and the setting of a cookie required a cascade in
redirects to that 'cookiesetter' on each and every domain, while I kept
track for which site the cookie was set, and the actual name & value in
the GET portion (query string) of the URL.
# similarly where the session is stored, this is server side variable
can u say the path for session
echo ini_get('sessio n.save_path');
--
Rik Wasmus
Mar 4 '08 #2
..oO(Damodhar)
># any one say where the cookie files are stored and whats the path and
whats the extension for the cookie files in php,this is client side
variable.can u say the path for cookie
Cookies are stored on the client, not on the server. How and where they
are stored depends on the browser and is out of your control. In PHP you
can access the cookies sent from the client with the $_COOKIE array.
># please any one know about the Cross domain cookie hoe to set the
cookie for one are more domain's. can u say the syntax for the cross
domain cookie
Described in the manual.

http://www.php.net/manual/en/function.setcookie.php
># similarly where the session is stored, this is server side variable
can u say the path for session
Described in the manual.

http://www.php.net/manual/en/functio...-save-path.php

Micha
Mar 4 '08 #3

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

Similar topics

1
2948
by: Matt | last post by:
I want to know what's the differences between session cookie and regular cookie. In ASP, when we create cookie, we do the following to identify an user: Response.Cookies("name") = value Is this regular cookie? How about session cookie? and when to use which?
3
5977
by: M Wells | last post by:
Hi All, Just wondering how you go about changing the value of a session cookie via javascript? I have a PHP page that sets a session cookie when it first loads. I'd like to be able to change the value of that session cookie in response to a button click in a form, without resubmitting the page. For some reason, the following doesn't seem to work:
5
1976
by: Yossi | last post by:
I want to set the asp session id path property. how can I do that? I mean, asp session id is stored in a cookie and like any other cookie it should have properties (or attributes), how can I control it? Yossi.
3
1119
by: jrefactors | last post by:
There are two cookie types: 1) session cookie. 2) persistent cookie is the same as tracking cookie? Is that correct? For windows machine, the files in C:\Documents and Settings\Administrator\Cookies are all persistent cookie, it doesn't have session cookie?
0
3239
by: joseph conrad | last post by:
Hi, I tried to implement my own session handler in order to keep control on the process the drawback I foun it is not creating and storing in my cookie the PHPSESSID variable anymore. reading te documentation it seems it should do it anyway any advice?
1
1184
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 where are the session cookie stored? I searched under temp Internet folder and cookie folder, but I can not find it. Many Thanks Jerry
8
1842
by: maboo59 | last post by:
when using ASP.NET 2.0, if you set 'cookieless session = fales' (meaning you want to use cookies), is the session information stored in a cookie on the client machine or in the browsers memory? Thanks Maboo
7
4280
by: monomaniac21 | last post by:
hi i have a php site which allows users to save a cookie on their computer which stores their user id details and allows them to auto- login. i'm wondering whether this is safe, is it possible for a malicious user to find that cookie and change its value and therefore auto-login as someone else? and if so how can this be prevented?
4
4125
by: gcervantes | last post by:
Hello, I am making a screen scraper, in other programs I have been able to log into a site, get the cookie, submit a form and read the results. However, this time I am in troubles, the site I need to log is using a local stored cookie or some info in it, since I can access OK from the IE, but when I log from the program I get some errors. I am using Fiddler to check the cookie values and the cookie I get from the site in the screen scraper...
0
9647
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9496
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10110
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8989
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4066
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3669
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.