WebSite X5Help Center

 
Lars Vinge
Lars Vinge
User

Redirect after login  en

Autore: Lars Vinge
Visite 2006, Followers 2, Condiviso 0  
Parole Chiave: 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

Postato il
1 RISPOSTE - 1 CORRETTO
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

Leggi di più
Postato il da Riccardo P.