I want to lock out the default forum page until the user is signed in on our main page. When the user logs in, a session variable is set. I want to check for this session variable when the forum loads and if its not set properly, I want to redirect the user to the login page on the main site.
Where would I put this type of code? Usually I would use a pageload event but I'm unfamiliar with the instantforum code structure.
creating a pageload in the default page (didnt work)
creating server side script in the masterpage.aspx and admindefault.aspx (caused exception when run)
tried adding to admindefault pageload (didnt work)
can anyone help me out? I'm guessing there is something I don't understand about the architecture...