View Single Post
  #5 (permalink)  
Old 11-09-06, 02:07 PM
Shane Shane is offline
Coding Addict
 
Join Date: Jun 2003
Location: Maryland, US
Posts: 268
Thanks: 0
Thanked 0 Times in 0 Posts
After you are logging the user out, you are probably redirecting them to a page that blocks unauthorized users. As a result, ASP.NET is trying to send them back to the login page. When that happens it appends the last visited page as the ReturnURL. Once the user logins successfully, the user will be directed to that page (which is unauthorized). That's why you're getting it.

- After they logout, redirect them to a page everyone can see (maybe a login page).
__________________
Shane Bauer
Microsoft Certified Professional (MCP) - ASP.NET
ASP/ASP.net, C#, VB/VB.NET, PHP, Perl, SQL
Reply With Quote