Can I combine these two statements, or simplify them together…?
<%if session("EnrolledInGoGreen") = "T" then %>
<a href='/ecm/index.aspx'>My Communications</a>
<%end if%>
<%if session("memGroup") = "xxxxxx" then %>
<a> href='https://outlook.example.com'>Company Email</a>
<%end if%>
It looks like you are evaluating two different things. If EnrolledInGoGreen and memGroup are truly two different and independent things, then they should be evaluated separately. No need to combine them, it would not simplify anything, it would actually complicate it because you are putting two different concepts into a single statement.