473,322 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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
Apr 14 '06 #1
3 1059
> 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
Apr 14 '06 #2
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

Apr 14 '06 #3
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

Apr 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through...
3
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be...
2
by: Eric | last post by:
I am trying to build an app where the stuff in the root directory is open to all, but anything under the Restricted directory requires you to login and I want to use Forms to do it. I'm having...
0
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET...
2
by: pv | last post by:
Hi everyone, I need help with following scenario, please: Users are accessing same web server from intranet (users previously authenticated in Active Dir) and from extranet (common public...
2
by: Bruce Groen | last post by:
I am having some authentication issues. I download a sample app to test the forms based authentication process of asp.net and it works on one of my servers but not the other one. The one that it...
2
by: UJ | last post by:
I have a login page that is specified in my web.config in the authentication section. The code is: <authentication mode="Forms"> <forms name="Login" loginUrl="common/Login.aspx"...
2
by: progrock | last post by:
Hey All, I'm attempting to put together a "secure" ASP.NET 2.0 application with one requirement that has given me a bit of grief: In a nutshell, if the user's session expires then they should be...
1
by: Andrew | last post by:
Hello, friends, I am implementing web app security using asp.net 1.1, and I found the following source code from Yahoo! Mail login page: <form method="post"...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.