Jul 23
Steven McIntosh Lasso 9 - global variable replacement
Jul 23, 2014; 16:23
Steven McIntosh
Lasso 9 - global variable replacement
I was reading the documentation on threads, and um - yeah, didn=92t understand it.
I have a situation where I store quite a bit of info in the session variables for users of an intranet site (example: a list of all staff is stored so it can be quickly pulled by a get with the employee id). There are quite a few (and some only store a small bit of info). The problem I=92m having is that an administrator might go in and change a key piece of information and I need each user on the site to be able to reload those session variables from scratch if there has been a change to the data.
Previously, I would have stored a timestamp in a global variable like ($staff_loaded), and then I can just check that against a session variable for the last time that variable was updated from the database and reload the data if necessary.
Could someone recommend a method for doing this in Lasso 9?
I started creating an sql table with a stamp for each type of data to be loaded, but that would mean doing several extra data lookups each time a page loaded.
#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 23
Jonathan Guthrie Re: Lasso 9 - global variable replacement
Jul 23, 2014; 17:38
Jonathan Guthrie
Re: Lasso 9 - global variable replacement
Jul 23
Steve Piercy - Website Builder Re: Lasso 9 - global variable replacement
Jul 23, 2014; 14:44
Steve Piercy - Website Builder
Re: Lasso 9 - global variable replacement
Jul 25
Steven McIntosh Re: Lasso 9 - global variable replacement
Jul 25, 2014; 12:42
Steven McIntosh
Re: Lasso 9 - global variable replacement
Jul 25
Steven McIntosh Re: Lasso 9 - global variable replacement
Jul 25, 2014; 12:43
Steven McIntosh
Re: Lasso 9 - global variable replacement