Re: [Phplib-users] passing variables into 'authenticated area'
Brought to you by:
nhruby,
richardarcher
|
From: Giancarlo P. <gia...@na...> - 2002-05-29 09:02:49
|
Joost wrote: > > Hi, > > I can't figure out how to pass variables into a > session-with-authentication/perms page. > > This is the case: > I've got a 404 error document, which simplifies searching. (Just type > www.mydomain.nl/some_query) > Some folks are (already)authenticated, some are not. > The 404 script *includes* my search script. The results of the query depend > on perms, so this script needs authentication. > > When some user is not yet logged in, the login form is presented. After > logging in the variables are lost, and no search is executed. (It all works > fine when a user was already logged in.) You could re-present the search form there too, with the input already typed... I mean two forms. Or hidden fields even within the same form. Or save in your session the $HTTP_POST_VARS with a name and pick it up later. Gian |