Solved

Change Login.aspx auto redirect Page

Posted on 2011-02-23
2
741 Views
Last Modified: 2012-05-11
I have Roles and Users enabled on my VB website, but if a user tries to access a page that they do not have access to, it attempts to redirect them to login.aspx, but I dont have this page, as I have a login on all pages, and just want to simply return them to the homepage.

How do I do this?

Thanks

Chris
0
Comment
Question by:CHKillswitch
2 Comments
 
LVL 13

Accepted Solution

by:
gamarrojgq earned 500 total points
ID: 34965409
Hi,

What authentication mode are you using? it sounds like your webconfig file is setting in FORMS mode, if this is right, then you just change the redirect page to your HomePage

Hope it helps
<authentication mode="Forms" >
      <forms loginUrl="HomePage.aspx" />      
    </authentication>

Open in new window

0
 

Author Closing Comment

by:CHKillswitch
ID: 34969364
Worked perfectly, I had already found this out, but this is the solution none-the-less.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

773 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