Hi,
Sorry but your question is absolutely not clear.
What do you mean by "session" ? How are the variables defined ? Is it in a Windows job, a Unix job, something else ?
Could you maybe share the script you are attempting to run ?
Best regards,
Antoine