StaObjectServer.AddObject

This function saves an object in the cache, return an id for later access. . If not accessed for secondsTillExpire seconds, item will be removed from cache.

Syntax Parameters Return Value
Function StaObjectServer.AddObject( _
    Object As Variant, _
    secondsTillExpire As Long) As String
  • Object [in]

Type: Variant

  • secondsTillExpire [in]

Type: Long

String