I need some guidance on the following problem.

I have a setup where the usage flow is (kinda) like this:

Page A ----\       /----\
 |          ---- Login -+-- [done login]
Page B ----/                       |
 \  \       (back to calling page) /
  --------------------------------

Nice ascii art, heh?

Description:

I have a working session / authorization system which i want to add a
feature to.

A user who (either from page A or B) wants to login.
The user (if not logged in allready) gets presented a loginscreen
(login).
To login the user POST the login & pwd to the login page (to itself) for
validation.
If the login is successful i want to present the user with a link back
to the initial page (A or B).

How can i do this?
All i get from $HTTP_REFERER after the login page is - the login page.
I know that i must save the reference as the login page gets called the
first time, but i haven't managed to get something to work yet.

Any helpful soul out there?

--

Michel Laine



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to