Public Vars or Objects

Oct 6, 2013 at 12:31 PM
Edited Oct 6, 2013 at 12:31 PM
Is there a concept of global or variables that can be carried between pages or is everything always local to the page?

While variables are useful, is it possible to create server side or session variables that can be re-used?

OR is the best way to do this by using the oSession.Value("XXXX")?
Oct 6, 2013 at 2:51 PM
Edited Oct 6, 2013 at 2:52 PM
Just like any other web environment and, in fact, exactly like classic ASP, since we re-use those objects within VFP. Yes, the Session object is for global vars and certainly can be shared and retrieved from any page.
Oct 6, 2013 at 4:05 PM
Thanks - I must be losing it :) - not sure why I didn't try that originally.