Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Auto redirect to login page

Posted on 2007-12-06
4
Medium Priority
?
786 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:Tom Knowlton
[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
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

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

Author Comment

by:Tom Knowlton
ID: 20424269
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 2000 total points
ID: 20424275
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:Tom Knowlton
ID: 20424319
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

704 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