Hey All,
I'm currently using a modified club starter kit and im trying to figure out the easiest and most secure way to redirect users to their own personal page when they login. i already have the login names and pages set up, and i can create a link to them no problem, but i need to redirect the users when they are authenticated. i have placed the user pages into a folder, such as:
~/users/john/welcome.aspx
I did this because i wanted to be able to put files into the users (john) page. That way, it would be protected (i have protected the ~/john/ folder so it can only be accessed by john and admin)
What would be the easiest way to redirect users when they are authenticated?
-------
I took a look at the club starter kit and their is a page just for redirect. Here is the code:
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
If Page.User.Identity.IsAuthenticated Then
Response.Redirect("Member_Details.aspx")
Else
Response.Redirect("Member_register.aspx")
End If
End Sub
</script>
Could i modify this to work with users instead?
Thanks in Advance