Smartsite SXML CopyCode image Copy Code
My value = @Buffer["MyBufferName", SaveBufferScope.Page]
Value exists = @Buffer.Exists("MyBuffername", SaveBufferScope.Page)

@{
    // Setting buffers in different scopes.
    Buffer["BufferAuto"] = "The auto scope";
    Buffer["BUfferField", SaveBufferScope.Field] = "The field scope";
    Buffer["BUfferPage", SaveBufferScope.Page] = "The page scope";
}