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 4546364
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:56:40+00:00 2026-05-21T15:56:40+00:00

In a VS2010 ASP.Net website is it possible to alter the ‘Specific Page’ at

  • 0

In a VS2010 ASP.Net website is it possible to alter the ‘Specific Page’ at project start up? Basically our startup page requires todays date to be passed in as a query string to prevent people from permanently bookmarking the page.

Obviously this causes headaches for developers as they have to manually change the date on their startup page every day. Is there any way of automatically changing the query string either by using an environment variable of some kind or a build event? Currenty our Start Action is set to:
Specific Page: Example.aspx?date=18/04/2011
it is the part in bold I would like to change when starting the project.

Many thanks.

  • 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-05-21T15:56:41+00:00Added an answer on May 21, 2026 at 3:56 pm

    Pseudocode:

    void OnBeginRequest()
    {
    #if DEBUG
        if(Request.Url.Host == "localhost" && Request["date"] == null)
            Redirect(Request.Url + "?date" + DateTime.Today);
    #endif
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a VS2010 Solution containing an ASP.NET Website Project and 8 c#
I have a ASP.NET MVC2 project in VS2010 that can be deployed in two
I have inhherited a vs2010 c# web project (asp.net). It has a web reference
I transformed my VS2008 ASP.NET Website to a Web Application today using VS2010. So
If I make a change in my ASP.NET project using VS2008 or VS2010, I
I recently upgraded an ASP.Net 2.0 website to ASP.Net 4.0 using VS2010 upgrade option.
I've created a medium-sized web-based automation project for a university (VS2010,C#,ASP.NET,SQL Server 2008), now
I use VS2010, C# to develop ASP.NET web app, I create some sessions in
I use VS2010, C#, ASP.NET; I read some data from SQL server and fill
I'm using VS2010, C#, ASP.NET, I've inserted Ajax Control Toolkit Tab Container which works

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.