Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 16th, 2006, 11:53 AM
Registered User
 
Join Date: Jan 2006
Location: , , .
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
Reply With Quote
Reply


Thread Tools
Display Modes

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

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

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 06: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 09:31 AM
Membership Provider bmains ASP.NET 2.0 Basics 4 April 13th, 2006 05:10 PM



All times are GMT -4. The time now is 07:48 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.