Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 16th, 2006, 10:53 AM
Registered User
 
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Simple ASP.NET Membership Provider Login

Hi Folks,

Hopefully, there is simple solution for the following:

1.) I have a 5,000+ record database in SQL Server 2005 that holds, among other things, a 'username' and 'password' info for each record.

2.) I'm using asp.net 2.0 in VB.NET. Not familiar with C#.

3.) I just want to create a simple login and protection of the pages---using the schema and data stored in my SQL Server 2005 database. Assuming it will use session state inproc.

Is this possible and can be done simply?

The built in .NET Membership Provider model information has many problems for us: we can't use the schema generated by the aspnet_regsql.exe utility, not willing to use SQL Server Express, nor do we want to create a new database or add more tables. We don't need ability for people to self-register, as this is taken care of over the phone! We don't need role management or other such functions.

Just an ability for someone to login to an .aspx page using a standard session cookie, be able to browse the various pages for about 30 minutes, and then log out. This was so simple in classic .asp. Surely, there must be a solution in .NET?

I have read the MSDN, ScottGus Blog, etc., but either the examples are C# (which not familiar), way overly complex for what we need, or do not provide examples of Visual Basic code that works with existing SQL Server 2005 database schema via the ASP.NET Membership Provider.

We tried using a 3rd party component (http://www.webxel-dw.co.uk/extension...px?ProductID=2) but it was a total disaster and kept resetting the session state after 3 minutes.

Does anyone have any idea on how to do this?

Thanks,

Chris





Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Membership Provider and Login Control sonishpaul ASP.NET 2.0 Professional 2 December 14th, 2007 02:36 PM
ASP.NET SQL Membership Provider bignermo ASP.NET 2.0 Professional 2 March 20th, 2007 05:41 AM
Help with membership Provider... slim182 ASP.NET 2.0 Basics 1 February 19th, 2007 10:15 AM
asp.net 2 custom membership provider andyw ASP.NET 2.0 Professional 24 September 6th, 2006 08:31 AM
Membership Provider bmains ASP.NET 2.0 Basics 4 April 13th, 2006 04:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.