Re: Why cookie is created?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



; Whether to use cookies.
session.use_cookies = 0

; This option enables administrators to make their users invulnerable to 
; attacks which involve passing session ids in URLs; defaults to 0.
session.use_only_cookies = 1

I changed the global variables on PHP. It still stores cookies on my
harddrive. Any ideas why?
PHP version 4.3.4




On Mon, 08 Nov 2004 16:01:27 -0500, John Nichel <john@xxxxxxxxxxxx> wrote:
> Jerry Swanson wrote:
> > I don't use cookie for my page. I use session. As I understand cookies
> > don't create any files on user  computer. I have this code below on my
> > page.
> > When I access this page immediately cookie is created on my computer.
> > Any ideas why?
> 
> As soon as you call session_start(), you are 'given' a session id.  To
> track this id from page to page throughout you site, it is stored in a
> cookie by default.  It's all in the manual...
> 
> http://us4.php.net/session
> 
> --
> John C. Nichel
> ÜberGeek
> KegWorks.com
> 716.856.9675
> john@xxxxxxxxxxxx
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux