Announcement

Collapse
No announcement yet.

Access global variable in scriptcase

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Access global variable in scriptcase

    Hi!
    I was trying to set the value of some global variables on a control application.
    When I was trying, I found out that even if I set a session variable like this: $_SESSION['abc'] in a control application,
    I can access this variable by simply using [abc] in other applications?
    Is this true and can anyone explain why?

  • #2
    Brian,

    Yes, that is exactly how ScriptCase saves global variables.

    An interesting exercise is to read the generated php source code for your project, you can learn a lot more similar tricks.

    Dave
    Dave Prue
    Code Whisperer
    Lahar International Corp
    www.lahar.net

    Comment


    • #3
      hi Dave

      I think I read it also in the manual that all fields will be accessible from other applications like a global variable, by default

      Comment

      Working...
      X