Peter Bowers schrieb: > > if ($action == 'login' && (some other condition that tells me the > login is complete and successful?)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yes, that's exactly the main problem, action login does not work cause it is true before the user entered the login data. any idea?