Re: [PHP] Why cookie is created?

2004-11-09 Thread Jerry Swanson
So As I understand. Session also store ID on the harddrive. I don't see the big difference between session and cookies from privacy point of view. On Mon, 8 Nov 2004 17:55:03 -0500, Paul Reinheimer [EMAIL PROTECTED] wrote: -- I don't want to use cookies. I want to use session. When I

Re: [PHP] Why cookie is created?

2004-11-09 Thread Ramil Sagum
On Tue, 9 Nov 2004 11:43:19 +, Jerry Swanson [EMAIL PROTECTED] wrote: So As I understand. Session also store ID on the harddrive. I don't see the big difference between session and cookies from privacy point of view. Instead of Session also store ID on the harddrive a more correct wat

Re: [PHP] Why cookie is created?

2004-11-09 Thread ankur_os
I just want to give you a simple example that for diff. of session and cookie is that--- When in our gmail account we will see that one option is there to save the password for 2 weeks, so that eans when u check that bbox and submit then one cookie is created for that comp. with your details nand

Re: [PHP] Why cookie is created?

2004-11-09 Thread Jerry Swanson
Why when I specify session.cookie_lifetime = 1 // Cookies are not created. However, when I specify large lifetime, cookies are created. session.cookie_lifetime = 1500 On Tue, 9 Nov 2004 08:11:46 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I just want to give you a simple

Re: [PHP] Why cookie is created?

2004-11-09 Thread Marek Kilimajer
Jerry Swanson wrote: Why when I specify session.cookie_lifetime = 1 // Cookies are not created. However, when I specify large lifetime, cookies are created. session.cookie_lifetime = 1500 Are your times and timezones set up right? Both client and server -- PHP General Mailing List

RE: [PHP] Why cookie is created?

2004-11-08 Thread Jay Blanchard
[snip] ...SESSION... [/snip] Because the use of sessions creates cookiesbut you can set it up where it will not... http://www.php.net/session -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why cookie is created?

2004-11-08 Thread John Nichel
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

Re: [PHP] Why cookie is created?

2004-11-08 Thread Jerry Swanson
; 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

Re: [PHP] Why cookie is created?

2004-11-08 Thread John Nichel
Jerry Swanson wrote: ; 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

Re: [PHP] Why cookie is created?

2004-11-08 Thread Marek Kilimajer
Jerry Swanson wrote: ; 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 These settings don't make much sense. You forbid their

Re: [PHP] Why cookie is created?

2004-11-08 Thread Greg Donald
On Mon, 8 Nov 2004 15:56:03 -0500, Jerry Swanson [EMAIL PROTECTED] wrote: I don't use cookie for my page. I use session. As I understand cookies don't create any files on user computer. Your understanding is incorrect. Using cookies does indeed place files on the user's computer. That's

Re: [PHP] Why cookie is created?

2004-11-08 Thread Jerry Swanson
I don't want to use cookies. I want to use session. When I use this code. It stores data on the harddrive. session_start(); $referral = $_SESSION['referral']; if(empty($referral)) { $referral = $_SERVER['QUERY_STRING']; $_SESSION['referral'] = $referral; } On Mon, 8 Nov 2004

Re: [PHP] Why cookie is created?

2004-11-08 Thread Greg Donald
On Mon, 8 Nov 2004 17:31:33 -0500, Jerry Swanson [EMAIL PROTECTED] wrote: I don't want to use cookies. I want to use session. When I use this code. It stores data on the harddrive. You must have your PHP sessions configured to use cookies. ini_set('session.use_cookies', 0); will override the

Re: [PHP] Why cookie is created?

2004-11-08 Thread Paul Reinheimer
-- I don't want to use cookies. I want to use session. When I use this code. It stores data on the harddrive. -- When you use Sessions, the data you put in the session is NOT stored on the users hard drive in a cookie. Only the Session ID is stored there. All of the other information you