Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 07-20-2005, 08:15 AM   #1 (permalink)
Inactive
 
Join Date: 10-29-03
Posts: 249
iTrader: 0 / 0%
Latest Blog:
None

Limit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the rough
ASP.NET login help

I'm trying to make an asp.net login that uses MSSQL 2000 for authentication. I would like it to use sessions so i can store the username.

DB fields are username, password.

The passwords are stored as SHA1 hashes. The pages that look for the user to see if he is logged in is
Code:
<% If Session("loggedin") = "yes" Then ' Do nothing, be happy, let them continue on down the page. Else Response.Redirect "login.asp" ' or whatever we named our login page End If%>


thanxs i just needhelp with the login and setting the sessions.

Also my connection string in web.config looks like this
Code:
<add key="ConnectionString" value="localhost;uid=username;pwd=password;database=db;" />
Limit is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Secure Login rob7676 Coding Forum 9 03-13-2008 01:35 PM
help with login manager v3.0 php homeriscool Coding Forum 2 08-17-2007 09:36 AM
PHP FOR FTP LOGIN firmemente Coding Forum 7 10-05-2006 02:35 PM
Site login and phpBB login SVB Coding Forum 13 08-02-2004 07:32 PM


Sponsor Links
Webmaster Forum Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:32 AM.
© Copyright 2008 V7 Inc