Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Anyone care to help explain forms authentication in 2.0?

 
Thread Tools Search this Thread
Old 04-14-2006, 02:00 AM   #1
Default Anyone care to help explain forms authentication in 2.0?


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
  Reply With Quote
Old 04-14-2006, 02:52 AM   #2
Darrel
 
Posts: n/a
Default Re: Anyone care to help explain forms authentication in 2.0?
> 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
  Reply With Quote
Old 04-14-2006, 05:49 AM   #3
dotnetjose@gmail.com
 
Posts: n/a
Default Re: Anyone care to help explain forms authentication in 2.0?
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
  Reply With Quote
Old 04-14-2006, 06:06 AM   #4
dotnetjose@gmail.com
 
Posts: n/a
Default Re: Anyone care to help explain forms authentication in 2.0?
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
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46