Suggestions for creating 'SharedView'

Sep 18, 2008 at 10:29 AM
Edited Sep 18, 2008 at 10:48 AM
Hi,
For registered users to be able to create shared view, which means that, whatever pages (tabs),widgets, they have, they should be able to share the view with others through a user friendly url for example http://www.dropthings.com/tony so that any other visitor (either registered or anonymous) if visit the shared view link can see what the owner of shared view has on his page. 
Any suggestions please.
$0
As per my thinking 
         1. I should add the following to Global.asax $0
          Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
          ' Suppose value of Request.PhysicalPath is http://www.dropthings.com/tony/site.aspx
$0
If File.Exists(Request.PhysicalPath) Then
Else
Dim sRequestedURL As String = Request.Path.Replace("http://www.dropthings.com/", "")
sRequestedURL = sRequestedURL.Replace("site.aspx", "")
Dim sTargetURL As String = "~/ShowContent.aspx?ContentID=" + sRequestedURL$0Context.RewritePath(sTargetURL)
End If
End Sub
$0
2. ShowContent.aspx should check if the logged in username matches the owner of the 'tony' view then show the page in design mode and if logged in username does not match the owner of the 'tony' view or user is unregistered then should show the page in browse mode.$0
$0
3. If the mode is browse then should not download drag and drop extenders, rather user controls should be loaded in the same column and row as specified by owner of the view in his design mode. (Here i need suggestions the most, especially for finding the row colums of controls and loading them without drag and drop extenders)
$0
4. If non-owner wants to go his own view he can as now the url will either be reffering to the view he owns or the default page.
$0
Thanks in advance.