PC Review


Reply
Thread Tools Rate Thread

Cancel RedirectFromLoginPage

 
 
Matt
Guest
Posts: n/a
 
      21st Aug 2006
I have found a scenario where I would like to cancel the RedirectFromLoginPage. If a user is authenticated in my web application then they manually enter a URL to a valid web page but do not have access they are redirected back to the login page, the only problem is now when they login it redirects them back to the manually entered URL which they do not have access which then flips them back to the login page.

How can I cancel the RedirectFromLoginPage to prevent this scenario?

Thanks,

Matt
 
Reply With Quote
 
 
 
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      21st Aug 2006
don't call RedirectFromLogin, if they are not allowed access to the page. redirect to a home page.

-- bruce (sqlwork.com)
"Matt" <(E-Mail Removed)> wrote in message news:%(E-Mail Removed)...
I have found a scenario where I would like to cancel the RedirectFromLoginPage. If a user is authenticated in my web application then they manually enter a URL to a valid web page but do not have access they are redirected back to the login page, the only problem is now when they login it redirects them back to the manually entered URL which they do not have access which then flips them back to the login page.

How can I cancel the RedirectFromLoginPage to prevent this scenario?

Thanks,

Matt
 
Reply With Quote
 
Matt
Guest
Posts: n/a
 
      21st Aug 2006
Bruce,

I am not calling anything, the login control is firing it automatically. This is why I want to cancel it when the ReturnURL is populated. I am not causing the loop the login control and the security system are doing it.

Thanks,

Matt


"bruce barker (sqlwork.com)" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
don't call RedirectFromLogin, if they are not allowed access to the page. redirect to a home page.

-- bruce (sqlwork.com)
"Matt" <(E-Mail Removed)> wrote in message news:%(E-Mail Removed)...
I have found a scenario where I would like to cancel the RedirectFromLoginPage. If a user is authenticated in my web application then they manually enter a URL to a valid web page but do not have access they are redirected back to the login page, the only problem is now when they login it redirects them back to the manually entered URL which they do not have access which then flips them back to the login page.

How can I cancel the RedirectFromLoginPage to prevent this scenario?

Thanks,

Matt
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RedirectFromLoginPage genc ymeri Microsoft ASP .NET 2 14th Apr 2006 05:03 PM
How to know when to RedirectFromLoginPage? Randall Parker Microsoft ASP .NET 6 5th Dec 2005 01:17 PM
Using RedirectFromLoginPage =?Utf-8?B?QW5kcmVzIFJvbWVybw==?= Microsoft C# .NET 0 10th Nov 2004 07:48 PM
RedirectFromLoginPage rufus Microsoft Dot NET 3 15th Sep 2004 09:50 PM
RedirectFromLoginPage, but somewhere else =?Utf-8?B?TWljaGHFgiBKYW51c3pjenlr?= Microsoft ASP .NET 2 23rd Mar 2004 02:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:45 AM.