RE: [PHP] Would appreciate thoughts on session management

From: Date: Tue, 12 Nov 2002 19:30:32 +0000
Subject: RE: [PHP] Would appreciate thoughts on session management
Groups: php.general 
Request: Send a blank email to php-general+get-124054@lists.php.net to get a copy of this message
> -----Original Message----- > From: Charles Wiltgen [mailto:lists@wiltgen.net] > Sent: 12 November 2002 18:48 > > > Your method assumes something about your users: that they > click on links. > > This may be unlikely, but what if a user uses the 'copy URL > to clipboard' > > (or equivalent) feature of their browser? It could be > pasted into an e-mail, > > posted to a newsgroup, etc. > > Exactly -- this is the problem that's solved by using my Invisible Get > method. With this method, the URL doesn't get filled with > session object > properties which aren't useful (or wanted) outside of the > current session. I've been staying out of this discussion as I've been sure there was something I was missing, but this comment I really don't understand -- if you use PHP's built-in sessions, all that gets into the URL (maybe, if cookies are disabled) is the session ID -- *everything* else is kept server-side and keyed off that ID. You've got to propagate the ID *somehow* -- with cookies if the user allows that, but otherwise by putting it in the URL; how does your "invisible Get" prevent that? Yours confused... Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#124054) next »