Hi
I want to do the following:
The user should have his own sub site on my web site. Therefor I've added a new route:
routes.MapRoute(
"ShopEntered",
"{username}/{controller}/{action}/{id}",
new { controller = "Home", action = "Index", id = "" }
);
When the site gets called for the first time I want to store the username value in the session and then bind the session value to the username part of the route, so that when I call Url.Action or Html.ActionLink I don't have to set it every time manualy.
Does anyone know how I could realize this?