More in this section
Forums / Developing with Sitefinity / How to get user info (current) in global.asax file

How to get user info (current) in global.asax file

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Charles
    Charles avatar
    36 posts
    Registered:
    18 Apr 2011
    17 Jan 2017
    Link to this post

    I have some pages that are not in the Sitefinity CMS. They are simply copied into the Sitefinity web folder. Ie /media/stuff/page.html

    What I'd like to do is use the global.asax file to say 'yay or nay' when someone trieds to load these pages. So I tried using global.asax and applicationbeginrequest event to catch the when these pages are being requested, but i think it's too early for the SF Security because current user returns anonymous but I am logged in... 

1 posts, 0 answered