A question for someone about session variables and the new Publish server Variables option on the grid.

when do the session variables get published?

if my grid has an onGridInitialize event, that modifies a session variable, will the value of the session variable that the show/hide expressions can use be the value 'before' the grid was initialized, or after?

i'm just wondering why something is only appearing after i refresh my page. A session variable is created in my OnGridInitialize event, and is populated based on some other logic in that event.