?
Solved

authenications

Posted on 2007-11-21
1
Medium Priority
?
273 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
[X]
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
1 Comment
 
LVL 15

Accepted Solution

by:
dosth earned 2000 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

      Install BugTracker on Windows 2008 server Step 1:  Install windows 2008 server 32 bit OS and configure IIS. Step 2:  Install SQL server ( SQL server 2005 or SQL server 2005 Express edition. The installer for 2008  version isn’t very f…
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

762 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