NetTalk Central

Recent Posts

Pages: [1] 2 3 ... 10
1
Web Server - Ask For Help / Re: PageFooter Session Manager issue
« Last post by Alberto on June 15, 2024, 07:21:02 AM »
Talking about the timer it works ok, but it is not disconecting the session anymore.
2
Web Server - Ask For Help / css of Other button in a netbrowse
« Last post by ntnewbies on June 15, 2024, 01:15:00 AM »
hi bruce,
if i add other button in a netbrowse, it was ok. If i call a procedure on a click, then the css disappears. I have to manually put the css for now (' ui-button ui-corner-all ui-widget').


regards,
jason
c11.1
nt14.20

3
Web Server - Ask For Help / Re: PageFooter Session Manager issue
« Last post by Jane on June 14, 2024, 03:14:33 PM »
New js file seems to work great.

Thanks, Bruce!
4
Web Server - Ask For Help / Re: PageFooter Session Manager issue
« Last post by Jane on June 14, 2024, 09:11:49 AM »
>  but the session is not disconected anymore

I have not tested the new js yet.

But what I've been doing anyway in session manager template tab:

for Go to URL I have
'IndexPage?logout=1'

Then in PageHeaderTag, I have the following (my code in red)

  ! Start of "Before DivHeader"
  ! [Priority 2700]
 
  ! Secwin - Set SecurityAccess for the menu
    If p_web.Event = 'getsecwinsettings'   !NetTalk Web Menu
      GlobalErrors.SetProcedureName()
      Return
    end
  ! [Priority 7700]
    IF p_web.GetValue('logout') = 1
      p_web.SetSessionLoggedIn(0)
      p_web.Script( p_web.WindowOpen( 'indexPage' ))  ! reload to remove the visible parameter from browser
    END ! if   

  ! End of "Before DivHeader"
5
Web Server - Ask For Help / Re: PageFooter Session Manager issue
« Last post by Alberto on June 14, 2024, 07:06:37 AM »
TEsted, session manager and timer work ok but the session is not disconected anymore.
Session manager goes to the defaultpage, click to login, all session values are intact, still logged in.
6
Web Server - Ask For Help / Re: PageFooter Session Manager issue
« Last post by Bruce on June 14, 2024, 06:40:37 AM »
updated js file attached.
Will be in the 14.24 build.
7
Web Server - Ask For Help / Re: PageFooter Session Manager issue
« Last post by Alberto on June 14, 2024, 05:06:27 AM »
Beware that...
suppouse the session timeout works ok and it fires at the same time as the deletesession
If the timeout is reached
and the user is on another tab when it happens
what happens if the session manager expire/continue messsage is active?
the activate option should not be possible because the session is deleted
8
Web Server - Ask For Help / Re: Button ID or class for CSS
« Last post by Alberto on June 14, 2024, 04:59:19 AM »
see pic
9
Web Server - Ask For Help / Re: Button ID or class for CSS
« Last post by Bruce on June 14, 2024, 04:40:14 AM »
>> The  name="Button1_3"  - is unique but name is not a css selector. 

of course it is. You can select on anything in sooo many different ways. Name is an attribute, and you can use attributes in selectors. Specifically;

[name="Button1_3"] {
    /* Your CSS styles here */
    color: blue;
}

attributes are used in selectors using [ and ]

Cheers
Bruce
10
Web Server - Ask For Help / Re: Button ID or class for CSS
« Last post by rjolda on June 14, 2024, 04:38:06 AM »
Hi Alberto,
How and where do I add the class to the button - so far, everything i have tried has not done it. Can you give more specifics please.
Thanks,
Ron
Pages: [1] 2 3 ... 10