Date: 07/12/00
- Next message: NickM: "Re: [phplib] using POST in fall back mode"
- Previous message: Javier Solano Vázquez: "[phplib] About database connectivity"
- Next in thread: NickM: "Re: [phplib] using POST in fall back mode"
- Reply: NickM: "Re: [phplib] using POST in fall back mode"
- Maybe reply: Carl Youngblood: "RE: [phplib] using POST in fall back mode"
- Maybe reply: Eric Ries: "RE: [phplib] using POST in fall back mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I'm using PHPLIB for basic session handling. My problem is thus:
I have set the mode to cookie, and fallback mode to GET. What my page does
is submit a form using the POST method with a user's username and password.
This then accesses a MySQL database which picks out some information about
the user. I then use $sess->register() to remember this info. This works
fine with cookies turned on, and with GET set as the $mode.
However, when I use GET as the fallback mode to cookies, and disable cookies
in my browser, a problem arises. When the 302 and location headers are sent
by PHPLIB with the session id as a URL parameter, the original posted
username and password do not appear to be resent, and so I can't get the
information about the user.
Obviously if I change the original form to use GET instead of POST, it'll
work, but I don't want the users password visible in the URL.
Any help with this would be greatly appreciated.
David West
PS. I'm using PHPLIB as a bunch of includes, and I can't change php.ini,
etc. I dunno if this is relevant?
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: NickM: "Re: [phplib] using POST in fall back mode"
- Previous message: Javier Solano Vázquez: "[phplib] About database connectivity"
- Next in thread: NickM: "Re: [phplib] using POST in fall back mode"
- Reply: NickM: "Re: [phplib] using POST in fall back mode"
- Maybe reply: Carl Youngblood: "RE: [phplib] using POST in fall back mode"
- Maybe reply: Eric Ries: "RE: [phplib] using POST in fall back mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

