---- Redirect user to previous page after logging in
d40sithui - 8:06 pm on Sep 16, 2009 (gmt 0)
Well, in this case you will want to hardcode your referer. One way is to use a session variable to store the page where the user visits - except in the login page. Then it's just a matter of calling the variable in your header function.