Any equivalent to ASP's Application object?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MOS
    New Member
    • May 2001
    • 10

    Any equivalent to ASP's Application object?

    Hi coders

    As my interest in PHP grows and my work with ASP finishes, I'm trying to start thinking in the "PHP-way" of doing things. I'm not married with ASP or Gates, so don't kick me!

    Is the any similar way of caching data in a way that is available to all pages in a website? Just as with the Application object in ASP, which stores data accesible by every ASP page.

    Apart from feeding global vars, of course.

    Thanks in advance,
    MOS
  • MOS
    New Member
    • May 2001
    • 10

    #2
    Seems none...

    Comment

    • Mike Sullivan
      Former vBulletin Developer
      • Apr 2000
      • 13327
      • 3.6.x

      #3
      Shared memory

      Sessions also do that to an extent, but it's not globally accessible -- only to the user who has that session.

      Comment

      • MOS
        New Member
        • May 2001
        • 10

        #4
        Thanks Ed, I was going to give up the subject.

        What do you mean by 'shared memory'? Are you talking about any PHP programable feature? If so, could you show me an example?


        MOS

        Comment

        • Mike Sullivan
          Former vBulletin Developer
          • Apr 2000
          • 13327
          • 3.6.x

          #5
          Check out the PHP manual -- they have a section on shared memory and semaphores.

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...