Date: 10/17/00
- Next message: Michael Chaney: "Re: [phplib] FORM data get lost at user timeout..."
- Previous message: giancarlo <email protected>: "[phplib] separate login form"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dear Marko,
Well, yes and no. We talked about this a couple of months ago on the
list, and found two solutions:
1. extending the auth class for this particular page (and others which
might deserve a little longer time). In that class, just set a higher
timeout value.
2. Making sure your login processes preserve the get/post variables. We
never did figure out how to do this the best way. Read the documentation
about how authentication works, and read the source code of auth.inc, too.
After the login is validated, auth.inc calls the same page again. I just
made sure that all get/post variables are appended to the URL at this
point as a GET query string. Except the variables $username and
$password; you need to unset those variables otherwise you'll never get
logged in! Thus some POST variables might get converted to GET variables,
but this is not a problem for me since my code never cares about the
method of the variables.
Sorry this is so vague. Some combination of 1 and 2 worked for me,
though. Good luck.
--Matt
----------------------------------------------------------------
Matthew Leingang http://www.math.rutgers.edu/
Rutgers University leingang <email protected>
Department of Mathematics "This signature needs no quote."
On Tue, 17 Oct 2000, Marko Kaening wrote:
> Hi,
>
> I have an input page with a lot of text edit fields and stuff like that.
> If the user forgets press the update button from time to time he overruns
> phplib's timeout (say 15 mins) the login form appears... So far so good,
> but unfortunately all the input which was made by the user is lost... Is
> there a way to retrieve the data which were inputted? It looks like it's
> impossible, since it depends on the browser where data are stored and
> since the caching should be switched off with phplib it looks like the
> only way is to make the timeout longer... Or, am I wrong?
>
> Any suggestions?
>
> Marko
>
>
> --
>
>
> [ Part 8: "Included Message" ]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Michael Chaney: "Re: [phplib] FORM data get lost at user timeout..."
- Previous message: giancarlo <email protected>: "[phplib] separate login form"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

