Asked by duncanb7
at 2024-05-10 18:26:00
Point:500 Replies:6 POST_ID:828501USER_ID:11059
Topic:
Hypertext Markup Language (HTML);PHP Scripting Language;JavaScript
I have tutorial at http://www.w3schools.com/php/php_cookies.asp to create my
first cookie, "Login", by php code.I have question. After I create "Login" cookie name
and its value by setcookie() in php, where is it stored or saved into my server system?
what is the file name to store cookie in my server ?
And the last question is the tuturial said:
"A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will send the cookie too. With PHP, you can both create and retrieve cookie values"
SO my question is whether browser will also save my cookie "Login" into my window XP CP location at
C:Documents and SettingAdministoratorLocal SettingsTemporary Internet Files folder ?
I have checked by Firefox's option and show cookie , that cookie path is at
C:Documents and SettingAdministoratorLocal SettingsTemporary Internet Files folder.
But I could not find any cookie file generated from my domain, for example, www.mydomain.com or mydomain.com, Why ?
I have seen in the folder there is a lot cookie file related to what the website I visited before. How those
website generated the cookie file in my at C:Documents and SettingAdministoratorLocal SettingsTemporary Internet Files folder ?
Please advise
Duncan
first cookie, "Login", by php code.I have question. After I create "Login" cookie name
and its value by setcookie() in php, where is it stored or saved into my server system?
what is the file name to store cookie in my server ?
And the last question is the tuturial said:
"A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will send the cookie too. With PHP, you can both create and retrieve cookie values"
SO my question is whether browser will also save my cookie "Login" into my window XP CP location at
C:Documents and SettingAdministoratorLocal SettingsTemporary Internet Files folder ?
I have checked by Firefox's option and show cookie , that cookie path is at
C:Documents and SettingAdministoratorLocal SettingsTemporary Internet Files folder.
But I could not find any cookie file generated from my domain, for example, www.mydomain.com or mydomain.com, Why ?
I have seen in the folder there is a lot cookie file related to what the website I visited before. How those
website generated the cookie file in my at C:Documents and SettingAdministoratorLocal SettingsTemporary Internet Files folder ?
Please advise
Duncan