NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: MikeR on May 08, 2014, 03:20:10 AM

Title: Pageheader Buttons not resetting immediately
Post by: MikeR on May 08, 2014, 03:20:10 AM
On my site some menu buttons should only display dependant on wheather the ujser is signed in or not.
once the user signs in the correct buttons appear.
however when you loggout the buttons dont disapear immediately.
the logout procedure calls the login form, which logs the user out.
I assume this is after the login page appears and the buttons are only reset on the next click.
how can I make the buttons dissapear immediatly the logout button is pressed.
Title: Re: Pageheader Buttons not resetting immediately
Post by: Alberto on May 09, 2014, 03:14:41 AM
Hi,
"the logout procedure calls the login form, which logs the user out. "
You cant do this, you need to logged out the user in the logout proc, then go to the login form.
Title: Re: Pageheader Buttons not resetting immediately
Post by: MikeR on May 09, 2014, 07:14:33 AM
Thx Michellis
Ive set up a logout form
ask the user if he is sure
then I log him out
how can I do it without a logout form ?
Title: Re: Pageheader Buttons not resetting immediately
Post by: Bruce on May 09, 2014, 08:02:46 AM
I discussed question in the NetTalk Webinar yesterday.

cheers
Bruce