WebSite X5Help Center

 
Lars Vinge
Lars Vinge
User

Redirect after login  en

Auteur : Lars Vinge
Visité 2005, Followers 2, Partagé 0  
Mots-clés :: form,login,name,redirect,show,user

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

Posté le
1 RéPONSES - 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

Lire plus
Posté le de Riccardo P.