pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dan Wilson <phpPgAdmin@acucore.com>
To: Mitch Vincent <mitch@venux.net>
To: Christian Marschalek <cm@chello.at>
Cc: [PHP] PostgreSQL <pgsql-php@postgresql.org>
Subject: Re: RE: Sessions without cookies
Date: Wed, 9 May 2001 11:54:05 -0600
Message-ID: <003301c0d8b1$0a69c9d0$523987cf@corp.peoplesoft.com> (raw)
References: <000601c0d8a6$e42d03e0$0200a8c0@server>
	<005e01c0d8aa$484d9da0$1251000a@windows>

: > > 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




view thread (16+ messages)  latest in thread

Message-ID: <003301c0d8b1$0a69c9d0$523987cf@corp.peoplesoft.com>
Permalink:  ../003301c0d8b1$0a69c9d0$523987cf@corp.peoplesoft.com/
Also on:    postgresql.org/message-id/003301c0d8b1$0a69c9d0$523987cf@corp.peoplesoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: phpPgAdmin@acucore.com, mitch@venux.net, cm@chello.at
  Subject: Re: Sessions without cookies
  In-Reply-To: <003301c0d8b1$0a69c9d0$523987cf@corp.peoplesoft.com>
  References: <000601c0d8a6$e42d03e0$0200a8c0@server> <005e01c0d8aa$484d9da0$1251000a@windows> <003301c0d8b1$0a69c9d0$523987cf@corp.peoplesoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox