Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspdotnet_website_programming thread: how to logout/timeout using current 'thePhile' website


Message #1 by "Andrew Pasetti" <andrewpasetti@y...> on Fri, 6 Sep 2002 20:32:43
I've been working with 'thePhile' Users/Accounts system. How would I 
implement a Logout/Timeout feature using forms based authorization that 
requires all users to login before accessing the site?

Your advice will be greatly appreciated.

Thanks,

Andrew Pasetti
Message #2 by "jiang tang" <jtang63@y...> on Sat, 7 Sep 2002 10:05:14
look at the web.config file under thephile

<authentication>
make timeout="1" so you can see it in 1 minute

add
<authorization>
 <deny users="?"/>
</authorization>

That should do the trick.

I read the book from cover to cover and loved it.  Jessey Liberty's book 
is also pretty good despite the annoying vb asp.net code.

Good luck.

  Return to Index