Redirect after login
Autor: Lars Vinge
Visitado 2009,
Followers 2,
Compartido 0
Hi
A few ?? :
- I have placed a login widget on the frontpage, and want to redirect the user to a secured page after login, is this possible ??
- Is it possible to show the users name, when the use have successfully have loggede in ?
Thanks for a great program .
Best regards
Lars
Publicado en
Hi Lars,
you can create a redirect page with insert a php redirect code, you need insert code manually.
If you need show the user name after login you can insert this code:
$pa = new imPrivateArea();
$user = $pa->who_is_logged();
echo $user['realname'];
?>
you can see this post of this question in Italian language:
http://answers.websitex5.com/post/33676