NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Pageheader Buttons not resetting immediately
« previous
next »
Print
Pages: [
1
]
Author
Topic: Pageheader Buttons not resetting immediately (Read 3088 times)
MikeR
Sr. Member
Posts: 265
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.
Logged
Alberto
Hero Member
Posts: 1873
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.
Logged
-----------
Regards
Alberto
MikeR
Sr. Member
Posts: 265
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 ?
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
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
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Pageheader Buttons not resetting immediately