my web application consist of 3 frames :top, left and right, and I use form authentication to authenticate users in ASP.NET 1.
the right frame is where the data is displayed
I set the default page (as it's required by VS) to some of my pages (default.aspx)
there is somewhere in the application where an e-mail is sent to some users containing a url with parameters needed by the page (pageX.aspx) to query the database and return the result to the user
the way the e-mail is sent
Dim email As New System.Web.Mail.MailMessag
With emai
.To = "na**@email.com
... .... ......
.Body = "click on this link to open the page : <a href='http://mySite/pageX.aspx?id=" & param & "</a>
... ..... .......
when the user click the link, he get always directed to the default page, even if he was authenticated previously and the authentication cookie is saved on his machin
the authenticataion in Global.asax
If (Not (HttpContext.Current.User Is Nothing)) The
If (HttpContext.Current.User.Identity.IsAuthenticated ) The
If (HttpContext.Current.User.Identity.AuthenticationT ype = "Forms") The
Dim id As System.Web.Security.FormsIdentity = HttpContext.Current.User.Identit
Dim myTicket As System.Web.Security.FormsAuthenticationTicket = id.Ticke
Dim userData As String = myTicket.UserDat
Dim myRoles As String() = Split(userData, ","
HttpContext.Current.User = New System.Security.Principal.GenericPrincipal(id, myRoles
End I
End I
what am I supposed to do to let the user go directly to the page specified by the url where the designated page can query the parameter from the url ?
thanks for hel