Reply to Re: Where does php session cookies stored

Your name:

Reply:


Posted by mosesdinakaran@gmail.com on 11/23/42 11:59

Hi Ron

Thanks for ur reply.. I have some more questions please....

I tried with what u said but I could not find the cookie
file I am sure that the session handler is set to handle cookies
because I dont have any problem with accessing cookie variable and
session variable every thing works fine But I am curious about seeing
the cookie file what my program has created. Meanwhile if I open
yahoo.com I could see the cookie file created by the yahoo.

So I uploaded my test file to another server and checked and
now I could see the cookie file.

I have learned that by default cookies are not created its
either created by javascript or server side scripting. In php,
session_start() and setcookie() will create a cookie

Now I removed these two function in my file and I had only html
code But still cookies are created I am very much confused.....

My Questions are.

1) when I run my script in server (A) cookie file is not created
where as when I run the same script in server (B) cookie file is
created why?????

2) Does a html page creates a cookie.

3) Can a value stored in a cookie be edited. (ie I am storing a
variable called access level in the cookie based upon the access level
i will give permission to the user, Since cookies are stored in the
client machine can the user open the cookie file and edit the access
level )


regards
moses

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация