473,395 Members | 1,738 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,395 software developers and data experts.

Authentication in ASP.NET. Need Help. Thank You.

Hello,

I am working in ASP.NET/VB and I need to create a login page. In
login.aspx I have a dataset with the usernames, passwords and access
level.

How to create the login?
And how to make the access level available in page_load so I can check
the user access level and take the according action when each page is
loaded?

In Web.Config I have the following code:
<authentication mode="Forms">
<forms name=".AuthenticationCookie"
loginUrl="login4web.aspx"
protection="All"
timeout="60" />
</authentication>

Thank You,
Miguel

Nov 19 '05 #1
2 1214
Please,

Can someone send me some information or links about Form Authentication
in ASP.NET?

Thanks,
Miguel

"Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in message
news:mdmoura*NOSPAM*@gmail.*DELETE2SEND*com:
Hello,

I am working in ASP.NET/VB and I need to create a login page. In
login.aspx I have a dataset with the usernames, passwords and access
level.

How to create the login?
And how to make the access level available in page_load so I can check
the user access level and take the according action when each page is
loaded?

In Web.Config I have the following code:
<authentication mode="Forms">
<forms name=".AuthenticationCookie"
loginUrl="login4web.aspx"
protection="All"
timeout="60" />
</authentication>

Thank You,
Miguel


Nov 19 '05 #2
Here is a Quick Start sample to give you the basics:
http://samples.gotdotnet.com/quickst...formsauth.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 18 May 2005 10:37:47 +0000, "Shapper"
<mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote:
Please,

Can someone send me some information or links about Form Authentication
in ASP.NET?

Thanks,
Miguel

"Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in message
news:mdmoura*NOSPAM*@gmail.*DELETE2SEND*com:
Hello,

I am working in ASP.NET/VB and I need to create a login page. In
login.aspx I have a dataset with the usernames, passwords and access
level.

How to create the login?
And how to make the access level available in page_load so I can check
the user access level and take the according action when each page is
loaded?

In Web.Config I have the following code:
<authentication mode="Forms">
<forms name=".AuthenticationCookie"
loginUrl="login4web.aspx"
protection="All"
timeout="60" />
</authentication>

Thank You,
Miguel


Nov 19 '05 #3

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

Similar topics

9
by: Tom B | last post by:
In my web.config file I've specified Windows for the authentication, in IIS I've set it to Integrated Authentication. But my SQL connection is still showing Anonymous. Is there somewhere else I...
3
by: David Kleyman | last post by:
Hello I would like to find out if there is a way to SignOut() the user and redirect the browser back to login page after time out period expired I've added these settings to my web.config file...
1
by: Rob | last post by:
I have an ASP.NET application that uses forms-based authentication. A user wishes to be able to run multiple sessions of this application simultaneously from the user's client machine. The...
0
by: Simon Smith | last post by:
Hi I have a small ASP.NET application that is running on a dedicated web server. This application is attempting to make a remote DCOM call to another server in order to log into another system as...
4
by: Andrew | last post by:
Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation, the more advanced stuff is still a challenge. Ok....
10
by: Will Gillen | last post by:
I have an ASP.NET application that is using Windows Integrated Authentication (IIS) (as opposed to Forms Authentication). When the user first logs into the application, IIS prompts the user for...
1
by: Shapper | last post by:
Hello, I am developing a web site where half of the pages are public and the other half are accessible only to registered users. The pages which are accessible only to registered users have...
3
by: Miguel Dias Moura | last post by:
Hello, I am working on an Asp.Net 2.0 / SQL 2005 web project where: 1. All users must login. 2. There will be two user types: student and professor. The students and professors are not related....
8
by: =?Utf-8?B?TFc=?= | last post by:
Hello! I am just learning about forms authentication so please excuse this basic question. I am using .NET 1.1 and C#. I have created my web.config file and my login.aspx and the associated cs...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.