Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • I am not a big fan of Session, It makes thing so slow and Cannot predict the behaviou sometimes, Thank you for the answer. Commented Jun 1, 2011 at 14:16
  • 1
    you don't have to use the session variable. you need to cache the retrieved roles somewhere so that you don't have access it for each request of the user Commented Jun 1, 2011 at 14:24