1. Put a check on the login.aspx to see if the ReturnUrl querystring
value is null. If so, do a Server.Transfer to the login page with your
own specified ReturnUrl.
2. By default, if the ReturnUrl argument is empty, RedirectFromLoginPage
tries to redirect to default.aspx. If you name your main page of your
site default.aspx, then you won't have a problem anymore.
-Brian
-----Original Message-----
From: Lude Gullit [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 3:09 PM
To: [EMAIL PROTECTED]
Subject: [C#.NET] Re: About authentication
Hi
Someone FIRST requests the login.aspx, not FIRST requests other page
and then is redirected to login.aspx.
if you FIRST requests the login.aspx,...
| Yahoo! Groups Sponsor |
| Get unlimited calls to U.S./Canada |
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/CSharpNET/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
