WebSite X5Help Center

 
Lachezar B.
Lachezar B.
User

Button "my account"  en

Автор: Lachezar B.
Просмотрено 665, Подписчики 1, Размещенный 0  

In my site I created a button "my account", the user presses it goes to the login page. Once users log in with their username and password goes into their personal area. I want users who are logged can go to their personal area at any time with the button "my account". Because now when user logs goes to his personal area, but after pressing the "my account" goes back to the login page. How can I fix that?

Размещено
2 Ответы - 1 Полезно
Paul M.
Paul M.
Moderator

Hello Lachezar,

Instead of setting the 'My Account' button to link to the login page, set it directly to link to the user's personal profile page, which is of course a 'locked' page.

When a user tries to access his/her page they will automatically be redirected to the login page if they are not already logged in, otherwise they will go straight to their personal page.  The WebSite X5 software takes care of all this behind the scenes for you.

Kind regards,

Paul

Читать больше
Размещено От Paul M.
Lachezar B.
Lachezar B.
User
Автор

Hello Paul,
Thank you for the fast reply.
I will try to do it the way you say. I'll write about the result.

Kind regards,

Lacho

Читать больше
Размещено От Lachezar B.