WebSite X5Help Center

 
Lars Vinge
Lars Vinge
User

Redirect after login  en

Author: Lars Vinge
Visited 1801, Followers 2, Shared 0  

Hi

A few ?? Laughing:

  1. I have placed a login widget on the frontpage, and want to redirect the user to a secured page after login, is this possible ??
  2. Is it possible to show the users name, when the use have successfully have loggede in ?

Thanks for a great program Cool.

Best regards

Lars

Posted on the
1 ANSWERS - 1 CORRECT
Incomedia
Riccardo P.
Incomedia

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:

<?php

$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

Read more
Posted on the from Riccardo P.