Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: session and xxxsets

$
0
0
Re: session and xxxsets
FoxInCloud
Re: session and xxxsets
Feb. 22, 2013
06:58 am
3Q00EXPY5Show this entire thread in new window
Gratar Image based on email address
From:Thierry Nivelet (FoxInCloud)
To:Tuvia Vinitsky
xxxSets.Init() executes when server starts, not within a given User Session
If MORESTUFF.PRG does nothing user-dependent (it should if you can run it from xxxSets.Init()), you may use PUBLIC variables.

In the Init of our xxxsets class, we call a prg, say MORESTUFF.PRG. In that prg we set a session variable using session.setsessionvar, as we do all over our app. Throughout the MORESTUFF the session var persists, but upon returning to the Init of xxxsets from MORESTUFF the session vars set in MORESTUFF are gone.

We are still in the same session, no? The code in morestuff is thousands of lines and putting it in xxxsets.Init would be a logistical bear.

What is the scoop here?


-- thn (FoxInCloud)


Viewing all articles
Browse latest Browse all 10393

Trending Articles