From cm@chello.at Sun May 6 22:20:47 2001 Received: from viemta04.chello.at (viemta04.chello.at [195.34.133.54]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f46MKlA63410 for ; Sun, 6 May 2001 18:20:47 -0400 (EDT) (envelope-from cm@chello.at) Received: from server ([212.17.110.55]) by viemta04.chello.at (InterMail vK.4.03.02.00 201-232-124 license 6aea1bd1f01aef5a9a73363c16ebee43) with ESMTP id <20010506222040.ZJSN2375.viemta04@server> for ; Mon, 7 May 2001 00:20:40 +0200 From: "Christian Marschalek" To: "[PHP] PostgreSQL" Subject: Sessions without cookies Date: Mon, 7 May 2001 00:21:58 +0200 Message-ID: <000101c0d67a$f72316c0$0200a8c0@server> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Archive-Number: 200105/25 X-Sequence-Number: 334 How can I make sessions without cookies? The php manual is a bit perplexing on this one... click here First it says the part is needed when cookies are disabled. Then it says "The is not necessary, if --enable-trans-sid was used to compile PHP" What's the deal? I don't want to use cookies at all... Even if I could use em (client has them turned on) Tia! (thanks to all that answered my last few questions;) From pgerzson@freestart.hu Sun May 6 22:36:58 2001 Received: from relay.freestart.hu (mx.freestart.hu [213.197.64.3]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f46MawA67227 for ; Sun, 6 May 2001 18:36:58 -0400 (EDT) (envelope-from pgerzson@freestart.hu) Received: from jaguar (line-72-8.dial.freestart.hu [213.197.72.8]) by relay.freestart.hu (Postfix) with SMTP id D9A342E29; Mon, 7 May 2001 00:36:45 +0200 (MET DST) Message-ID: <015b01c0d67d$3f61bd40$0848c5d5@jaguar> From: "Gyozo Papp" To: "Christian Marschalek" , "[PHP] PostgreSQL" References: <000101c0d67a$f72316c0$0200a8c0@server> Subject: Re: Sessions without cookies Date: Mon, 7 May 2001 00:37:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id f46MaxA67229 X-Archive-Number: 200105/26 X-Sequence-Number: 335 --enable-trans-sid means PHP concatenate transparently a 'SID=...' parameter to each relative URL in your HTML output content, therefore you may not worry about to do it manually. ... will work in this form. You can check it if view source in your browser. ----- Original Message ----- From: "Christian Marschalek" To: "[PHP] PostgreSQL" Sent: 2001. május 7. 00:21 Subject: [PHP] Sessions without cookies > How can I make sessions without cookies? > The php manual is a bit perplexing on this one... > > click here > > First it says the part is needed when cookies are disabled. > > Then it says "The is not necessary, if --enable-trans-sid was > used to compile PHP" > > What's the deal? I don't want to use cookies at all... Even if I could > use em (client has them turned on) > > Tia! > > (thanks to all that answered my last few questions;) > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) From cm@chello.at Mon May 7 00:59:24 2001 Received: from viemta04.chello.at (viemta04.chello.at [195.34.133.54]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f470xOA99953 for ; Sun, 6 May 2001 20:59:24 -0400 (EDT) (envelope-from cm@chello.at) Received: from server ([212.17.110.55]) by viemta04.chello.at (InterMail vK.4.03.02.00 201-232-124 license 6aea1bd1f01aef5a9a73363c16ebee43) with ESMTP id <20010507005920.ZSHN2375.viemta04@server>; Mon, 7 May 2001 02:59:20 +0200 From: "Christian Marschalek" To: "'Gyozo Papp'" Cc: "[PHP] PostgreSQL" Subject: RE: Sessions without cookies Date: Mon, 7 May 2001 03:00:40 +0200 Message-ID: <000001c0d691$22c03e00$0200a8c0@server> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-reply-to: <015b01c0d67d$3f61bd40$0848c5d5@jaguar> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id f470xOA99954 X-Archive-Number: 200105/27 X-Sequence-Number: 336 Thanks, but does --enable-trans-sid also mean to don't use cookies? > -----Original Message----- > From: pgsql-php-owner@postgresql.org > [mailto:pgsql-php-owner@postgresql.org] On Behalf Of Gyozo Papp > Sent: Monday, May 07, 2001 12:38 AM > To: Christian Marschalek; [PHP] PostgreSQL > Subject: Re: [PHP] Sessions without cookies > > > --enable-trans-sid means > > PHP concatenate transparently a 'SID=...' parameter to each > relative URL in your HTML output content, therefore you may > not worry about to do it manually. href='netxpage.php'>... will work in this form. You can > check it if view source in your browser. > > > ----- Original Message ----- > From: "Christian Marschalek" > To: "[PHP] PostgreSQL" > Sent: 2001. május 7. 00:21 > Subject: [PHP] Sessions without cookies > > > > How can I make sessions without cookies? > > The php manual is a bit perplexing on this one... > > > > click here > > > > First it says the part is needed when cookies are disabled. > > > > Then it says "The is not necessary, if > --enable-trans-sid was > > used to compile PHP" > > > > What's the deal? I don't want to use cookies at all... Even > if I could > > use em (client has them turned on) > > > > Tia! > > > > (thanks to all that answered my last few questions;) > > > > > > ---------------------------(end of > > broadcast)--------------------------- > > TIP 2: you can get off all lists at once with the unregister command > > (send "unregister YourEmailAddressHere" to > majordomo@postgresql.org) > > > ---------------------------(end of > broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > http://www.postgresql.org/users-lounge/docs/faq.html From cleonell@visteon.com Tue May 8 16:49:14 2001 Received: from dymwsm08.mailwatch.com (dymwsm08.mailwatch.com [204.253.83.44]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f48GnEA54884 for ; Tue, 8 May 2001 12:49:14 -0400 (EDT) (envelope-from cleonell@visteon.com) Received: from mwsc0210.mw4.mailwatch.com (mwsc0210.mw4.mailwatch.com [204.253.83.228]) by dymwsm08.mailwatch.com (8.11.0/8.11.0) with ESMTP id f48GnYm15680 for ; Tue, 8 May 2001 12:49:34 -0400 Received: from mail pickup service by mwsc0210.mw4.mailwatch.com with Microsoft SMTPSVC; Tue, 8 May 2001 12:49:14 -0400 Received: from 204.253.83.34 ([204.253.83.34]) by 0.0.0.0 with SMTP id 0002000a890b6259-6a71-4f5b-b121-ff78c6f81441; Tue, 08 May 2001 12:49:14 -0500 Received: from eccmfw5.ford.com (mailfw5.ford.com [136.1.1.29]) by dymwsm12.mailwatch.com (8.11.0/8.11.0) with ESMTP id f48GnDr25977 for ; Tue, 8 May 2001 12:49:13 -0400 Message-Id: <200105081649.f48GnDr25977@dymwsm12.mailwatch.com> Received: by mailfw5.ford.com id MAA25236 (InterLock SMTP Gateway 4.2 for pgsql-php@postgresql.org); Tue, 8 May 2001 12:42:20 -0400 (EDT) Received: by mailfw5.ford.com (Internal Mail Agent-1); Tue, 8 May 2001 12:42:20 -0400 (EDT) Received: by mailfw5.ford.com (Internal Mail Agent-0); Tue, 8 May 2001 12:42:20 -0400 (EDT) From: "Leonello, Chris (C.R.)" To: "'Christian Marschalek'" Cc: "[PHP] PostgreSQL" Subject: RE: Sessions without cookies Date: Tue, 8 May 2001 12:49:00 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2651.58) Content-Type: text/plain; charset="iso-8859-1" HOP-COUNT: 1 X-MAILWATCH-INSTANCEID: 0102000a890b6259-6a71-4f5b-b121-ff78c6f81441 X-OriginalArrivalTime: 08 May 2001 16:49:14.0977 (UTC) FILETIME=[D0A83510:01C0D7DE] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id f48GnEA54892 X-Archive-Number: 200105/34 X-Sequence-Number: 343 > -----Original Message----- > From: Christian Marschalek [mailto:cm@chello.at] > Sent: Sunday, May 06, 2001 9:01 PM > To: 'Gyozo Papp' > Cc: [PHP] PostgreSQL > Subject: RE: Sessions without cookies > > > Thanks, but does --enable-trans-sid also mean to don't use cookies? No. You can use both cookies and --enable-trans-sid. You don't have to use cookies if you are sending your SID encoded in the URL and you code appropriately, however. You indicated you didn't want to use cookies at all and encoding the SID in the URL, either manually or automatically by enabling trans-sid, will do the trick. Note that you will have to disable trans-sid (or find some work around) if you don't want the SID encoded in some of the URLs on your pages. I believe trans-sid automatically encodes all the URL's in your page. > > > -----Original Message----- > > From: pgsql-php-owner@postgresql.org > > [mailto:pgsql-php-owner@postgresql.org] On Behalf Of Gyozo Papp > > Sent: Monday, May 07, 2001 12:38 AM > > To: Christian Marschalek; [PHP] PostgreSQL > > Subject: Re: [PHP] Sessions without cookies > > > > > > --enable-trans-sid means > > > > PHP concatenate transparently a 'SID=...' parameter to each > > relative URL in your HTML output content, therefore you may > > not worry about to do it manually. > href='netxpage.php'>... will work in this form. You can > > check it if view source in your browser. > > > > > > ----- Original Message ----- > > From: "Christian Marschalek" > > To: "[PHP] PostgreSQL" > > Sent: 2001. május 7. 00:21 > > Subject: [PHP] Sessions without cookies > > > > > > > How can I make sessions without cookies? > > > The php manual is a bit perplexing on this one... > > > > > > click here > > > > > > First it says the part is needed when cookies > are disabled. > > > > > > Then it says "The is not necessary, if > > --enable-trans-sid was > > > used to compile PHP" > > > > > > What's the deal? I don't want to use cookies at all... Even > > if I could > > > use em (client has them turned on) > > > > > > Tia! > > > > > > (thanks to all that answered my last few questions;) > > > > > > > > > ---------------------------(end of > > > broadcast)--------------------------- > > > TIP 2: you can get off all lists at once with the > unregister command > > > (send "unregister YourEmailAddressHere" to > > majordomo@postgresql.org) > > > > > > ---------------------------(end of > > broadcast)--------------------------- > > TIP 5: Have you checked our extensive FAQ? > > > http://www.postgresql.org/users-lounge/docs/faq.html > > From cm@chello.at Tue May 8 22:19:40 2001 Received: from viemta06.chello.at (viemta06.chello.at [195.34.133.56]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f48MJeA84023 for ; Tue, 8 May 2001 18:19:40 -0400 (EDT) (envelope-from cm@chello.at) Received: from server ([212.17.110.55]) by viemta06.chello.at (InterMail vK.4.03.02.00 201-232-124 license 6aea1bd1f01aef5a9a73363c16ebee43) with ESMTP id <20010508221937.TUAN27182.viemta06@server>; Wed, 9 May 2001 00:19:37 +0200 From: "Christian Marschalek" To: "'Leonello, Chris \(C.R.\)'" Cc: "[PHP] PostgreSQL" Subject: RE: Sessions without cookies Date: Wed, 9 May 2001 00:20:53 +0200 Message-ID: <000101c0d80d$28040360$0200a8c0@server> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-reply-to: <200105081649.f48GnVf23689@dymwsm10.mailwatch.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Archive-Number: 200105/35 X-Sequence-Number: 344 > No. You can use both cookies and --enable-trans-sid. You don't > have to use cookies if you are sending your SID encoded in the URL > and you code appropriately, however. You indicated you > didn't want to use cookies at all and encoding the SID in the > URL, either manually or automatically by enabling trans-sid, > will do the trick. So cookies are only used when I tell php to do so? With set cookie and so forth? From mitch@venux.net Tue May 8 23:36:14 2001 Received: from icebox.venux.net (icebox.venux.net [216.120.166.10]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f48NaEA06551 for ; Tue, 8 May 2001 19:36:14 -0400 (EDT) (envelope-from mitch@venux.net) Received: from windows (net-216-93-124-123.hcv.com [216.93.124.123]) by icebox.venux.net (Postfix) with SMTP id 18F5826202; Tue, 8 May 2001 19:52:42 -0400 (EDT) Message-ID: <02be01c0d817$45855fb0$1251000a@windows> From: "Mitch Vincent" To: "Christian Marschalek" , "'Leonello, Chris (C.R.)'" Cc: "[PHP] PostgreSQL" References: <000101c0d80d$28040360$0200a8c0@server> Subject: Re: RE: Sessions without cookies Date: Tue, 8 May 2001 19:33:22 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200105/36 X-Sequence-Number: 345 When you use --enable-trans-sid cookies aren't used for sessions. You can still use cookies for other things but the native session support in PHP won't use them. -Mitch ----- Original Message ----- From: "Christian Marschalek" To: "'Leonello, Chris (C.R.)'" Cc: "[PHP] PostgreSQL" Sent: Tuesday, May 08, 2001 6:20 PM Subject: [PHP] RE: Sessions without cookies > > No. You can use both cookies and --enable-trans-sid. You don't > > have to use cookies if you are sending your SID encoded in the URL > > and you code appropriately, however. You indicated you > > didn't want to use cookies at all and encoding the SID in the > > URL, either manually or automatically by enabling trans-sid, > > will do the trick. > So cookies are only used when I tell php to do so? With set cookie and > so forth? > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html > From phpPgAdmin@acucore.com Wed May 9 07:20:48 2001 Received: from mail.fiber.net (mail.fiber.net [216.83.130.4]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f497KiA67829 for ; Wed, 9 May 2001 03:20:48 -0400 (EDT) (envelope-from phpPgAdmin@acucore.com) Received: from danwilson (bbudnick.employees.fiber.net [216.83.131.7]) by mail.fiber.net (8.11.3/8.11.3) with SMTP id f497KTG03538; Wed, 9 May 2001 01:20:30 -0600 (MDT) Message-ID: <004801c0d857$f8ce06e0$078353d8@danwilson> From: "Dan Wilson" To: "Mitch Vincent" , "Christian Marschalek" , "'Leonello, Chris \(C.R.\)'" Cc: "[PHP] PostgreSQL" References: <000101c0d80d$28040360$0200a8c0@server> <02be01c0d817$45855fb0$1251000a@windows> Subject: Re: RE: Sessions without cookies Date: Wed, 9 May 2001 01:16:29 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-Archive-Number: 200105/37 X-Sequence-Number: 346 You should note that even with the --enable-trans-sid, PHP will still try and use a single cookie. If the user does not accept the cookie, then it is automagically passed in the URL. However, if the user accepts the cookie, then it will use that to keep track of the session rather than the URL re-writing. -Dan : When you use --enable-trans-sid cookies aren't used for sessions. You can : still use cookies for other things but the native session support in PHP : won't use them. : : -Mitch : : ----- Original Message ----- : From: "Christian Marschalek" : To: "'Leonello, Chris (C.R.)'" : Cc: "[PHP] PostgreSQL" : Sent: Tuesday, May 08, 2001 6:20 PM : Subject: [PHP] RE: Sessions without cookies : : : > > No. You can use both cookies and --enable-trans-sid. You don't : > > have to use cookies if you are sending your SID encoded in the URL : > > and you code appropriately, however. You indicated you : > > didn't want to use cookies at all and encoding the SID in the : > > URL, either manually or automatically by enabling trans-sid, : > > will do the trick. : > So cookies are only used when I tell php to do so? With set cookie and : > so forth? : > : > : > ---------------------------(end of broadcast)--------------------------- : > TIP 5: Have you checked our extensive FAQ? : > : > http://www.postgresql.org/users-lounge/docs/faq.html : > : : : ---------------------------(end of broadcast)--------------------------- : TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org : From cm@chello.at Wed May 9 12:20:04 2001 Received: from viemta05.chello.at (viemta05.chello.at [195.34.133.55]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f49CK4A94270 for ; Wed, 9 May 2001 08:20:04 -0400 (EDT) (envelope-from cm@chello.at) Received: from server ([212.17.110.55]) by viemta05.chello.at (InterMail vK.4.03.02.00 201-232-124 license 6aea1bd1f01aef5a9a73363c16ebee43) with ESMTP id <20010509121959.UHHS29087.viemta05@server>; Wed, 9 May 2001 14:19:59 +0200 From: "Christian Marschalek" To: "'Dan Wilson'" Cc: "[PHP] PostgreSQL" Subject: RE: RE: Sessions without cookies Date: Wed, 9 May 2001 14:21:24 +0200 Message-ID: <000801c0d882$90596660$0200a8c0@server> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <004801c0d857$f8ce06e0$078353d8@danwilson> Importance: Normal X-Archive-Number: 200105/38 X-Sequence-Number: 347 > You should note that even with the --enable-trans-sid, PHP > will still try and use a single cookie. If the user does not > accept the cookie, then it is automagically passed in the > URL. However, if the user accepts the cookie, then it will > use that to keep track of the session rather than the URL re-writing. Thanks... But I still need to find a way how I can completely get rid of the cookies. From phpPgAdmin@acucore.com Wed May 9 16:21:32 2001 Received: from utahdemo.corp.peoplesoft.com (unk-135-57-86.peoplesoft.com [207.135.57.86]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f49GLVA04714 for ; Wed, 9 May 2001 12:21:32 -0400 (EDT) (envelope-from phpPgAdmin@acucore.com) Received: from dwilsonuta ([207.135.57.82]) by utahdemo.corp.peoplesoft.com with Microsoft SMTPSVC(5.0.2172.1); Wed, 9 May 2001 10:22:35 -0600 Message-ID: <001801c0d8a4$41b4ad90$523987cf@corp.peoplesoft.com> From: "Dan Wilson" To: "Christian Marschalek" Cc: "[PHP] PostgreSQL" References: <000801c0d882$90596660$0200a8c0@server> Subject: Re: RE: Sessions without cookies Date: Wed, 9 May 2001 10:22:35 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-OriginalArrivalTime: 09 May 2001 16:22:35.0388 (UTC) FILETIME=[41A40BC0:01C0D8A4] X-Archive-Number: 200105/40 X-Sequence-Number: 349 : > You should note that even with the --enable-trans-sid, PHP : > will still try and use a single cookie. If the user does not : > accept the cookie, then it is automagically passed in the : > URL. However, if the user accepts the cookie, then it will : > use that to keep track of the session rather than the URL re-writing. : Thanks... But I still need to find a way how I can completely get rid of : the cookies. Why? If the user accepts the cookie, then they don't have a problem with it. If the user doesn't then it uses other functionality (URL re-writing). I don't see any problem with that. Leave it up to the user to decide how they want PHP to keep track of their session. -Dan From cm@chello.at Wed May 9 16:40:07 2001 Received: from viemta06.chello.at (viemta06.chello.at [195.34.133.56]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f49Ge7A12861 for ; Wed, 9 May 2001 12:40:07 -0400 (EDT) (envelope-from cm@chello.at) Received: from server ([212.17.110.55]) by viemta06.chello.at (InterMail vK.4.03.02.00 201-232-124 license 6aea1bd1f01aef5a9a73363c16ebee43) with ESMTP id <20010509164002.VRET27182.viemta06@server>; Wed, 9 May 2001 18:40:02 +0200 From: "Christian Marschalek" To: "'Dan Wilson'" Cc: "[PHP] PostgreSQL" Subject: RE: RE: Sessions without cookies Date: Wed, 9 May 2001 18:41:26 +0200 Message-ID: <000601c0d8a6$e42d03e0$0200a8c0@server> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <001801c0d8a4$41b4ad90$523987cf@corp.peoplesoft.com> Importance: Normal X-Archive-Number: 200105/39 X-Sequence-Number: 348 > Why? If the user accepts the cookie, then they don't have a > problem with it. If the user doesn't then it uses other > functionality (URL re-writing). I don't see any problem with > that. Leave it up to the user to decide how they want PHP to > keep track of their session. Well because cookies are a security flaw, aren't day? From mitch@venux.net Wed May 9 17:08:34 2001 Received: from icebox.venux.net (icebox.venux.net [216.120.166.10]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f49H8YA26026 for ; Wed, 9 May 2001 13:08:34 -0400 (EDT) (envelope-from mitch@venux.net) Received: from windows (net-216-93-124-123.hcv.com [216.93.124.123]) by icebox.venux.net (Postfix) with SMTP id EE4C826202; Wed, 9 May 2001 13:25:06 -0400 (EDT) Message-ID: <005e01c0d8aa$484d9da0$1251000a@windows> From: "Mitch Vincent" To: "Christian Marschalek" , "'Dan Wilson'" Cc: "[PHP] PostgreSQL" References: <000601c0d8a6$e42d03e0$0200a8c0@server> Subject: Re: RE: Sessions without cookies Date: Wed, 9 May 2001 13:05:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200105/41 X-Sequence-Number: 350 > > Why? If the user accepts the cookie, then they don't have a > > problem with it. If the user doesn't then it uses other > > functionality (URL re-writing). I don't see any problem with > > that. Leave it up to the user to decide how they want PHP to > > keep track of their session. > > Well because cookies are a security flaw, aren't day? Only if you make them one. :-) Cookies by in and of themselves are harmless. Just treat what ever you store in a cookie as if anyone could see it (because they probably can).. -Mitch From phpPgAdmin@acucore.com Wed May 9 17:53:02 2001 Received: from utahdemo.corp.peoplesoft.com (unk-135-57-86.peoplesoft.com [207.135.57.86]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f49Hr2A44801 for ; Wed, 9 May 2001 13:53:02 -0400 (EDT) (envelope-from phpPgAdmin@acucore.com) Received: from dwilsonuta ([207.135.57.82]) by utahdemo.corp.peoplesoft.com with Microsoft SMTPSVC(5.0.2172.1); Wed, 9 May 2001 11:54:06 -0600 Message-ID: <003301c0d8b1$0a69c9d0$523987cf@corp.peoplesoft.com> From: "Dan Wilson" To: "Mitch Vincent" , "Christian Marschalek" Cc: "[PHP] PostgreSQL" References: <000601c0d8a6$e42d03e0$0200a8c0@server> <005e01c0d8aa$484d9da0$1251000a@windows> Subject: Re: RE: Sessions without cookies Date: Wed, 9 May 2001 11:54:05 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-OriginalArrivalTime: 09 May 2001 17:54:06.0089 (UTC) FILETIME=[0A5A8790:01C0D8B1] X-Archive-Number: 200105/42 X-Sequence-Number: 351 : > > Why? If the user accepts the cookie, then they don't have a : > > problem with it. If the user doesn't then it uses other : > > functionality (URL re-writing). I don't see any problem with : > > that. Leave it up to the user to decide how they want PHP to : > > keep track of their session. : > : > Well because cookies are a security flaw, aren't day? : : Only if you make them one. :-) : : Cookies by in and of themselves are harmless. Just treat what ever you store : in a cookie as if anyone could see it (because they probably can).. : : -Mitch Exactly... and that's only an issue if someone gets into your local machine. Regardless, the cookie that is stored with the PHP session functionality is just a long unique identifier. It's meaningless to the user. It's only used by the system to lookup the information that is stored in the session handling on the server. This could either be on the filesystem (default) or by a user-defined session handling system (http://www.php.net/manual/en/function.session-set-save-handler.php) -Dan From andrew@catalyst.net.nz Wed May 9 19:37:14 2001 Received: from socrates.catalyst.net.nz (socrates.catalyst.net.nz [203.96.153.226]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f49JbEA88070 for ; Wed, 9 May 2001 15:37:14 -0400 (EDT) (envelope-from andrew@catalyst.net.nz) Received: from heidegger.catalyst.net.nz (hume.catalyst.net.nz [203.96.153.228]) by socrates.catalyst.net.nz (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id HAA14937; Thu, 10 May 2001 07:37:02 +1200 X-Authentication-Warning: socrates.catalyst.net.nz: Host hume.catalyst.net.nz [203.96.153.228] claimed to be heidegger.catalyst.net.nz Received: from 127.0.0.1 (ident=andrew) by heidegger.catalyst.net.nz with esmtp (MasqMail 0.1.14) id 14xZko-6Hg-00; Thu, 10 May 2001 07:36:10 +1200 Message-ID: <3AF99C2A.5ADCA286@catalyst.net.nz> Date: Thu, 10 May 2001 07:36:10 +1200 From: Andrew McMillan Organization: Catalyst IT Ltd X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18-kant i686) X-Accept-Language: en MIME-Version: 1.0 To: Christian Marschalek CC: pgsql-php@postgresql.org Subject: Re: RE: Sessions without cookies References: <000801c0d882$90596660$0200a8c0@server> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200105/43 X-Sequence-Number: 352 Christian Marschalek wrote: > > > You should note that even with the --enable-trans-sid, PHP > > will still try and use a single cookie. If the user does not > > accept the cookie, then it is automagically passed in the > > URL. However, if the user accepts the cookie, then it will > > use that to keep track of the session rather than the URL re-writing. > > Thanks... But I still need to find a way how I can completely get rid of > the cookies. Interestingly we have just developed a site that used no cookies whatsoever, handling all session management through URL rewriting. We got to a point, however, about two weeks ago where we found that we did, after all, need to (try and) maintain session state between visits. Although people could bookmark the session, we decided to switch back to cookies as #1, with a fall-back to URL rewriting. You could do URL rewrite only sessions in PHP if you did your own URL rewriting through creative use of the ob_... set of Output Control functions. This would allow you to use sessions completely without cookies - if that's really what you want. Regards, Andrew. -- _____________________________________________________________________ Andrew McMillan, e-mail: Andrew@catalyst.net.nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax: +64(4)499-5596, Office: +64(4)499-2267xtn709 From cm@chello.at Wed May 9 21:32:43 2001 Received: from viemta05.chello.at (viemta05.chello.at [195.34.133.55]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f49LWhA31797 for ; Wed, 9 May 2001 17:32:43 -0400 (EDT) (envelope-from cm@chello.at) Received: from server ([212.17.110.55]) by viemta05.chello.at (InterMail vK.4.03.02.00 201-232-124 license 6aea1bd1f01aef5a9a73363c16ebee43) with ESMTP id <20010509213240.VVVD29087.viemta05@server>; Wed, 9 May 2001 23:32:40 +0200 From: "Christian Marschalek" To: "'Andrew McMillan'" Cc: "[PHP] PostgreSQL" Subject: RE: RE: Sessions without cookies Date: Wed, 9 May 2001 23:34:00 +0200 Message-ID: <000001c0d8cf$c3c87ca0$0200a8c0@server> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <3AF99C2A.5ADCA286@catalyst.net.nz> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200105/45 X-Sequence-Number: 354 > We got to a point, however, about two weeks ago where we > found that we did, after all, need to (try and) maintain > session state between visits. You can save the session info in a database also... No explicit need for cookies:) You should never rely on them since you many people could be behind a firewall that just filters them out and they have no chance to change that fact. The same goes with javascript... Well just my 2 cents;) Cya From grant@conprojan.com.au Wed May 9 22:59:35 2001 Received: from webster.conprojan.com.au (raw130515-1.gw.connect.com.au [202.21.11.98]) by postgresql.org (8.11.3/8.11.1) with SMTP id f49MxZA61122 for ; Wed, 9 May 2001 18:59:35 -0400 (EDT) (envelope-from grant@conprojan.com.au) Received: (qmail 7951 invoked by uid 523); 9 May 2001 22:59:28 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 9 May 2001 22:59:28 -0000 Date: Thu, 10 May 2001 08:59:28 +1000 (EST) From: Grant To: pgsql-php@postgresql.org Subject: RE: RE: Sessions without cookies In-Reply-To: <000001c0d8cf$c3c87ca0$0200a8c0@server> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200105/47 X-Sequence-Number: 356 > You can save the session info in a database also... No explicit need for > cookies:) You should never rely on them since you many people could be > behind a firewall that just filters them out and they have no chance to > change that fact. The same goes with javascript... Saving session information in a database is more overhead. Note: Session variables are server side, stored in a file on the webserver named the same as the session ID. From mitch@venux.net Wed May 9 23:38:22 2001 Received: from icebox.venux.net (icebox.venux.net [216.120.166.10]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f49NcMA74001 for ; Wed, 9 May 2001 19:38:22 -0400 (EDT) (envelope-from mitch@venux.net) Received: from windows (net-216-93-124-123.hcv.com [216.93.124.123]) by icebox.venux.net (Postfix) with SMTP id B2B1226202; Wed, 9 May 2001 19:54:53 -0400 (EDT) Message-ID: <007801c0d8e0$baf61fe0$1251000a@windows> From: "Mitch Vincent" To: "Grant" , References: Subject: Re: RE: Sessions without cookies Date: Wed, 9 May 2001 19:35:28 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200105/48 X-Sequence-Number: 357 > Saving session information in a database is more overhead. > > Note: Session variables are server side, stored in a file on the > webserver named the same as the session ID. Session information can also be kept in shared memory for really, really fast access.. -Mitch