Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

authenications

Posted on 2007-11-21
1
259 Views
Last Modified: 2010-04-06
I have an aspx page that the users will login into and be authenicated against a users table in sql database. I want to stop users from loading other pages from the website without first logging in to the site. Any help would be greatly appreciated.
I already have the cookie set but I don't know where to go from there.
0
Comment
Question by:sfunderwood
1 Comment
 
LVL 15

Accepted Solution

by:
dosth earned 500 total points
ID: 20335562
You can do this in two way

1. Using IIS Integrated Authentication if you have Active Directory setup for all users.
2. if you want to Authenticate using your db, use a session variable to hold the logged in status, by default session is not assinged with any value, in you login page after you autenticate the login set the session variable. in all your other pages check the session status. if session status is not set then redirect to login page

thanks
Dosth
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IIS ISSUE while deploying the web application or web service 2 57
SharePoint 2013 6 57
Recieving large files from China 4 145
Widget to get customer remakrs in our website. 3 87
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Introduction (All good things must come to an end (http://en.wikipedia.org/wiki/All_Good_Things...))The original MySQL API (http://php.net/manual/en/book.mysql.php) has gone away, deprecated by PHP in Version 5.5, and removed from PHP in all current…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question