I want to use the Session.SessionID as file name and query string in URL. I want to know if its format is suitable for these applications. For example you can not use '?' or '<' characters in a file name.
Is SessionID format string safe for file names and query strings?
From this MSDN link
So the answer is, Yes & it’s safe to be used for file names and query strings