I'm not sure I understand right what you mean. To me this code says: "(line 536) get appver from the query or the session. (537) if it comes from the query, (538) store it in the session".
How would you see it?