Public Vars or Objects

Oct 6, 2013 at 11:31 AM
Edited Oct 6, 2013 at 11:31 AM
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")?
Coordinator
Oct 6, 2013 at 1:51 PM
Edited Oct 6, 2013 at 1: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 3:05 PM
Thanks - I must be losing it :) - not sure why I didn't try that originally.