NetTalk Central

Author Topic: PageFooter Session Manager does not disconnects the session  (Read 2674 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
It redirect to the selected page but it does not disconects the session.

Theres no need to attach an example, steps to reproduce:
Open BasicWithLogin (3) example
Goto the PageFooterTag and change the "Goto URL" from p_web.site.DefaultPage to 'LoginPage'
(using LoginFrom is better to see the effect)
Compile and Run
Set the Session Timeout to 00:01 to be faster
Login using demo/demo, the Browse menu appears
Wait 30 seconds for the session window, click on End Session 
You will be redirected to the LoginForm but...
- the Browse menu is still there and you can click and enter any of the browse menu items.
- the Session timer is still running in the footer


« Last Edit: May 31, 2024, 09:42:58 AM by Alberto »
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: PageFooter Session Manager does not disconnects the session
« Reply #1 on: June 03, 2024, 06:44:43 AM »
When a session ends you can't direct to a Form - and specifically not a login page.
Because forms require a session.