Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Change Login.aspx auto redirect Page

Posted on 2011-02-23
2
Medium Priority
?
746 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 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
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 …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

610 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