AppGiniHelper logOutUser();

Topics related to AppGini plugins/add-ons go here.
Post Reply
AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

AppGiniHelper logOutUser();

Post by AhmedBR » 2022-08-04 19:46

Hi Jan,

Finally got some time to install and give it a test drive.
This lib is very nice, you have done a good job, especially with the pre-built indicators, it gives you a jump start with the lib. :)

I have a newbie quick question, If I want to logOutUser(); at say 18:00
Something like If( time() = 18:00 , logOutUser())
Where would I start?

Thanks,
Ahmed
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1806
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: AppGiniHelper logOutUser();

Post by jsetzer » 2022-08-04 20:03

Hi, thanks for your nice feedback. The indicators lib is meant for recurring display of values, calculated on serverside, in browser. I never thought about controlling the current session depending on time.

I hope someone else can contribute php code for automatic sign-out. That code should be integrated with indicators handler hook function.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: AppGiniHelper logOutUser();

Post by AhmedBR » 2022-08-04 20:10

Got you, it is just when I saw it self updating, this occurred to me.

Thanks
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1806
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: AppGiniHelper logOutUser();

Post by jsetzer » 2022-08-04 20:11

Should be possible. But I guess there is a simpler way to close session at a certain time.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

Post Reply