Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8512023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:10:06+00:00 2026-06-11T04:10:06+00:00

With reference to This question , and ScottGu’s Documentation , I have successfullr routed

  • 0

With reference to This question, and ScottGu’s Documentation, I have successfullr routed a Url for my sites’ Member profile page.

My page redirects ~/page/MemberName to ~/page/Default.aspx, which users the MemberName to request info.
This has worked fine until now.

I need a way to now allow a user to edit their data, and would like it to be accessed like ~/page/MemberName/Private. The Private tag will tell the page the user can edit their content.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T04:10:07+00:00Added an answer on June 11, 2026 at 4:10 am

    While I would consider doing what @huMpty duMpty suggests and using Roles for this.

    You just need to set up your route to contain extra information in the URL.

    routes.MapPageRoute("SalesRoute",
        "page/{MemberName}/{ExtraData}",
        "~/Default.aspx");
    

    And then access it just like you would MemberName:

    Page.RouteData.Values["ExtraData"];
    

    If you want to make sure that only ‘Private’ is ever passed in you can add constraints to the route via one of the overloads.

    routes.MapPageRoute("SalesRoute",
        "page/{MemberName}/{ExtraData}",
        "~/Default.aspx",
        false,
        new RouteValueDictionary(),
        new RouteValueDictionary{
           { "ExtraData", "[P|p]rivate" }
        });
    

    It’s worth noting that you may want to test this pretty well as you might end up with an overly strict routing rule.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In reference with this question We have a header with a date picked component
In reference to this question: Which is prefered CTabCtrl vs CPropertySheet I have a
with reference of this question Sort json array I have the following JSON String
I couldn't find any reference to this question. I have an array of structs
This question is in reference to the API documentation link, http://www.blackberry.com/developers/docs/7.0.0api/net/rim/device/api/barcodelib/BarcodeBitmap.html They specify that
With the reference to this question:- JavaScript -Change CSS color for 5 seconds Working
Reference: This is a self-answered question. It was meant to share the knowledge, Q&A
EDIT: This question is about finding definitive reference to MySQL syntax on SELECT modifying
Somebody ask me this question today . What is the need of reference in
I'm using Alberto Santini's solution to this question to get a spiral grid reference

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.