title: Quickest way to require authentication in asp.net webform?
body: <p>As of right now, I have the user register/log in and then if successful, redirect them to the homepage.  However, this is extremely artificial as the user can simply type the url and go to any page they want.  I'm fairly new to this and I've heard forms authentication mentioned multiple times as a way to do what I need: a simple means to prevent a user from accessing any page and once they haven't done a "Request" in awhile, I want them to be "logged out" and sent back to the log in page.  I guess, in the end, I have three questions:</p>
  
  <p>1) Can someone provide me a link to a great tutorial on authentication?   I don't want to get too far in depth if I can avoid it.</p>
  
  <p>2) Also, is it recommended to use cookies for this or not?  I've heard different views on this?</p>
  
  <p>3)  I was told I can set this up in the web.config as well as in code behind?  Is this true?  If so, which do you recommend?</p>
  
  <p>Thank you very much and I apologize for the broad question(s).  If you need any more information, please let me know.</p>