Assuming you're using sessions for access control, you could set a value (e.g.: $SESSION['login_success']=true
, then on the page in question, check to see if that $SESSION value is set, and if so, unset it and display whatever text, pop-up, etc. you want in that case.