Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Login redirects to itself when using masked (or stealth)
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01065646
Message ID:
01065694
Views:
15
Jim,

>I am using a masked (a.k.a. stealth) URL for a website. [NO, it is not used for SPAM or unsolicited mail!] My home page "default.aspx" is located in application folder "main". My masked URL is for example "www.def.com".
>
>For example: if my domain name is "www.abc.com" then the home page is at www.abc.com/main/default.aspx and my masked URL www.def.com forwards automatically to www.abc.com/main. Up to this point everything is working fine.
>
>Now, when I set the default.aspx page "RequiresSecurity" property to true and I don't use the masked URL (I type in: "www.abc.com/main"), then everything is still working OK, i.e. I am being directed to the User Login screen and after a successful login I am forwarded to default.aspx. However, when I use my masked URL www.def.com, then the login screen does not forward me to default.aspx, but comes right back and prompts me for my username and password again.
>
>I know that UserLogin.aspx is talking to the database, because when I type in an incorrect username/password combination, I am getting the "Invalid User ID and Password" message and when I type in a correct combination, I don't get any message.

I'm not sure what's going on, but I recommend setting a breakpoint in mmBaseUserLogin.Login() to see what's happening with the redirection.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform