?
Solved

authenications

Posted on 2007-11-21
1
Medium Priority
?
280 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 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Suggested Courses

850 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