Solved

Auto redirect to login page

Posted on 2007-12-06
4
735 Views
Last Modified: 2008-02-01
I have a page that I have set as my Start Page.

When I try to go to that page, and I am not logged-in, I get redirected to a Login page.

I don't remember anymore how I set this up, or how it knows to go to this Login page.  There's nothing in Page_Load or Page_Init that checks the logged in status.
0
Comment
Question by:knowlton
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:nisarkhan
Comment Utility
are you using any login controls ? if yes then may be you have set in the properties.
0
 
LVL 5

Author Comment

by:knowlton
Comment Utility
Not sure I am understanding.

There are no login controls on the page in question  (meaning, the page that I set as my Startup page has no login controls on it).  It knows nothing about the Login page.
0
 
LVL 7

Accepted Solution

by:
nisarkhan earned 500 total points
Comment Utility
have you seen anything in the web.config ?
its really difficult to help you since have no clue what your application looks like.
0
 
LVL 5

Author Comment

by:knowlton
Comment Utility
nisarkhan:

That was the problem.  I had forgotten to create a web.config file in that directory, so no authentication rules were being enforced, including a redirect if you are not logged-in.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

772 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

13 Experts available now in Live!

Get 1:1 Help Now