NetTalk Central

Author Topic: Pageheader Buttons not resetting immediately  (Read 3088 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Pageheader Buttons not resetting immediately
« 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.

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Pageheader Buttons not resetting immediately
« Reply #1 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.
-----------
Regards
Alberto

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Re: Pageheader Buttons not resetting immediately
« Reply #2 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 ?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Pageheader Buttons not resetting immediately
« Reply #3 on: May 09, 2014, 08:02:46 AM »
I discussed question in the NetTalk Webinar yesterday.

cheers
Bruce