468,257 Members | 1,361 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,257 developers. It's quick & easy.

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 1566
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by M Wells | last post: by
3 posts views Thread by jrefactors | last post: by
reply views Thread by joseph conrad | last post: by
1 post views Thread by jerry.xuddd | last post: by
8 posts views Thread by maboo59 | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.