Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
149 Points
87 Posts
Feb 24, 2012 07:57 PM|LINK
Do you do something like this:
Session("Rola1") = "Admin|User"
And if you want to see if the session variable has a perticular value, you cand do it this way:
If Session("Rola1") IsNot Nothing If InStr(Session("Rola1"), "Admin") > 0 ' True Else ' False End If End If
Hope this helps
DaNuGai
Member
149 Points
87 Posts
Re: 2 values in me.session
Feb 24, 2012 07:57 PM|LINK
Do you do something like this:
Session("Rola1") = "Admin|User"And if you want to see if the session variable has a perticular value, you cand do it this way:
If Session("Rola1") IsNot Nothing If InStr(Session("Rola1"), "Admin") > 0 ' True Else ' False End If End IfHope this helps