Solved

authenications

Posted on 2007-11-21
1
253 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
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…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now