BlueEdger
asked on
Forms Authentication - RedirectFromLoginPage Is Null
I have a question which nobody seems to be able to answer - even the teacher on the ASP.NET course I have recently been on.
When using forms authentication, if the user manages to navigate himself straight to the login page, RedirectFromLoginPage is null and after a successful login it goes to the root default.aspx, even if you dont want it to!!! And you cant seem to change this. So my question is, can you change this? I want it to go the sub folder default.aspx, not the root default.aspx.
When using forms authentication, if the user manages to navigate himself straight to the login page, RedirectFromLoginPage is null and after a successful login it goes to the root default.aspx, even if you dont want it to!!! And you cant seem to change this. So my question is, can you change this? I want it to go the sub folder default.aspx, not the root default.aspx.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
In the end, due to project time constraints, I gave up using forms authentication in the end, and just did the authentication myself - much easier! So thanks Microsoft but as usual you've only come up with a half baked solution that doesnt work in the real world!
I must admit that I have not tested EBatista's solution (sorry I do appreciate your help), but am happy to award you the points.
Apologies for my lack of attentiveness.