RE: [PHP] Would appreciate thoughts on session management
| From: | Ford, Mike [LSS] | Date: | Thu, 14 Nov 2002 12:21:11 +0000 |
| Subject: | RE: [PHP] Would appreciate thoughts on session management | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124414@lists.php.net to get a copy of this message | ||
Additionally...
> -----Original Message-----
> From: Charles Wiltgen [mailto:lists@wiltgen.net]
> Sent: 13 November 2002 18:28
>
> Ford, Mike [LSS] wrote...
>
> > ...But why would they even see that in the first place????
> If I want them
> > to click on a button to do something, I simply make it part
> of a <FORM METHOD=
> > "POST"> and the value gets fed to my script via $_POST
> without the user seeing
> > it in the URL. Why would I ever want to make it more
> complex than this?
>
> It's simpler than you're thinking. This method just allows
> you to use GET
> variables instead of POST variables, but without the GET
> drawback of the
> user seeing what you're sending in the address bar.
But why don't you want to just use POST? If POST gets the information to your script without
exposing it in the URL, why are you insisting on using a method that puts it in the URL, and then
jumping through hoops to hide it because you didn't really want to put there in the first
place? In fact, why are you so desparately trying to avoid using something that so obviously does
exactly what you want to do??
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