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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:27:31+00:00 2026-05-15T21:27:31+00:00

I have recently started using Request(key) instead of Request.QueryString(key) to access my querystring values.

  • 0

I have recently started using Request("key") instead of Request.QueryString("key") to access my querystring values. However I have read that:

Gets the specified object from the System.Web.HttpRequest.Cookies,
System.Web.HttpRequest.Form, System.Web.HttpRequest.QueryString,
System.Web.HttpRequest.ServerVariables

Therefore, if I have a querystring key and cookie key which are the same, which value is returned?

  • 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-15T21:27:32+00:00Added an answer on May 15, 2026 at 9:27 pm

    They’re checked in the following order:

    1. QueryString
    2. Form
    3. Cookies
    4. ServerVariables

    The search is short-circuited, so as soon as a matching key is found the value is returned.

    So, to answer your question, a matching QueryString item takes precedence over Cookies.

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

Sidebar

Ask A Question

Stats

  • Questions 505k
  • Answers 505k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I'm not sure what it is your looking for. Is… May 16, 2026 at 3:30 pm
  • Editorial Team
    Editorial Team added an answer // the variables $array = array("a", "b", "c", "d"); $desiredLength… May 16, 2026 at 3:30 pm
  • Editorial Team
    Editorial Team added an answer Check constraints can't access the previous value of the column.… May 16, 2026 at 3:30 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have recently started using the Rackspace Cloudfiles CDN (Limelight), about which I have
I have recently started using Google Webmaster Tools . I was quite surprised to
Recently I started working with MVC, before that I used classic ASP.NET. After using
I have recently started using the -Wall compiler switch in an attempt to improve
I recently started using Mercurial and like the way I have VCS protection for
I have recently started working on a legacy application that has most of its
I just recently started having a very severe problem when using WebRequest.Create(string url) I
I've recently started doing some JSF work - before that I've always used PHP
I am trying Django recently in Ububtu. So started using a developement environment, which
I have a Google Appengine app requesting pages from another server using urllib2 POSTs.

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.