hi all,
I have a bunch of pages on a web site that are set in IIS witt Anonymous Authentication and Forms Authentication Enabled.
There is a login.aspx page that re-directs to a certain url inside the site (the Home page).
All pages inherit a master page that checks the session cookie set by the login page. If such cookie is not found there is a re-direct to the login.aspx page. This means that if you try to access an url inside the site directly, you will be forced to login.
And this is OK with me except for one case: there is one url that I would like to go to after the login is done (and not land on the Home page).
My solution is to check the url requested while executing the code in the login page and avoid the re-direction to the Home page, but I don't know what is the object that holds that url.
Any ideas?
-> the master page
public partial class adminMasterPage : System.Web.UI.MasterPage
{
...
Go to the complete details ...