Solved

Auto redirect to login page

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

Independent Software Vendors: 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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 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