WebSite X5Help Center

 
Lars Vinge
Lars Vinge
User

Redirect after login  en

Autor: Lars Vinge
Visited 2011, Followers 2, Udostępniony 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 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
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

Czytaj więcej
Posted on the from Riccardo P.