![]() |
|
|
|||||||
![]() |
ASP Net - Anyone care to help explain forms authentication in 2.0? |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
I'm reading up on some tutorials on using forms authentication in ASP.net
2.0 I'm confused. In 1.1, I created a table in my DB for users, wrote a page for the login form, then added this to my webconfig: <authentication mode="Forms"> <forms name="login" loginUrl="/login.aspx" defaultUrl="default.aspx" protection="All" timeout="60" path="/" requireSSL="false" slidingExpiration="true" enableCrossAppRedirects="false" cookieless="UseDeviceProfile" domain=""> </forms> My asp.net app seems to be ignoring all of that. In reading up on 2.0's methods, I get really confused. I use IIS to set up forms authentication. But changing info there doesn't seem to change anything in my web config file. Where is this actually stored? How do I deploy my app to another server if I have to set up forms authenticatino via IIS? Can I still use the manual method from 1.1? -Darrel Darrel |
|
|
|
|
#2 |
|
Posts: n/a
|
> In reading up on 2.0's methods, I get really confused. I use IIS to set up
> forms authentication. But changing info there doesn't seem to change > anything in my web config file. Where is this actually stored? How do I > deploy my app to another server if I have to set up forms authenticatino > via IIS? Can I still use the manual method from 1.1? Apologies. I asked something that turned out to be relatively painless. Just went through a tutorial on using the new authetnication controls. I must say, I'm impressed! That was easy! Follow up question...how does the built-in ASPNETDB.MDF file work? If I'm working locally, no problem. To build and deploy the site, though, does anything special have to be done? Do I just upload my files along with the DB file? Can other apps access this same DB file easily? -Darrel Darrel |
|
|
|
#3 |
|
Posts: n/a
|
Hi Darrel,
Check out these how-to videos from microsoft. They are great at explaining that stuff. http://msdn.microsoft.com/asp.net/le...t/default.aspx Hope they help. Take care. Jose dotnetjose@gmail.com |
|
|
|
#4 |
|
Posts: n/a
|
Hi Darrel,
Check out these how-to videos from microsoft. They are great at explaining that stuff. http://msdn.microsoft.com/asp.net/le...t/default.aspx Hope they help. Take care. Jose dotnetjose@gmail.com |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can anybody explain me of c compilation? | sajeev | Software | 0 | 08-01-2008 11:51 AM |
| Authentication Problem with Webservice | suddu | Software | 0 | 05-09-2008 02:23 PM |
| AAA authentication problem for enable mode access | leopard | Hardware | 1 | 07-02-2007 08:08 AM |
| More Retailers Report Blu-ray outselling HD-DVD | asjbiotek@gmail.com | DVD Video | 625 | 07-01-2007 01:08 AM |
| authentication problem (radius /tacacs) | hh_forum | Software | 0 | 07-07-2006 09:34 AM |