Solved

Change Login.aspx auto redirect Page

Posted on 2011-02-23
2
744 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
[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 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

689 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