Open Micket opened 4 months ago
For example the completed sessions have full access to the session variable: https://github.com/OSC/ondemand/blob/75ea435fdae1ca11e3bd2cdfed939880046f3d6b/apps/dashboard/app/helpers/batch_connect/sessions_helper.rb#L25
but the running jobs only get view and connect parts: https://github.com/OSC/ondemand/blob/75ea435fdae1ca11e3bd2cdfed939880046f3d6b/apps/dashboard/app/helpers/batch_connect/sessions_helper.rb#L10
I would really like to use the session ID as a unique identifier for a cookie I need to set for an app. This (at least the session.id) should always be available so I see no reason why this can't be provided for the template.
For example the completed sessions have full access to the session variable: https://github.com/OSC/ondemand/blob/75ea435fdae1ca11e3bd2cdfed939880046f3d6b/apps/dashboard/app/helpers/batch_connect/sessions_helper.rb#L25
but the running jobs only get view and connect parts: https://github.com/OSC/ondemand/blob/75ea435fdae1ca11e3bd2cdfed939880046f3d6b/apps/dashboard/app/helpers/batch_connect/sessions_helper.rb#L10
I would really like to use the session ID as a unique identifier for a cookie I need to set for an app. This (at least the session.id) should always be available so I see no reason why this can't be provided for the template.