473,382 Members | 1,622 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,382 software developers and data experts.

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 1732
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('session.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
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...
3
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...
5
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...
3
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...
0
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...
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...
8
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? ...
7
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...
4
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.