Solved

Auto redirect to login page

Posted on 2007-12-06
4
744 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 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

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