title: Using 'querystring.parse' built-in module's method in Node.JS to read/parse parameters
body: <p><strong>Scenario</strong>: 
  Consider the following code:</p>
  
  <pre><code>var querystring = require('querystring');
  var ParamsWithValue = querystring.parse(req._url.query);
  </code></pre>
  
  <p>Then I am able to read any <a href="http://nodejs.org/api/querystring.html#querystring_querystring_parse_str_sep_eq_options" rel="nofollow">query string</a>'s value.<br/>
  E.g: If requested string is <strong>http://www.website.com/Service.aspx?UID=Trans001&amp;FacebookID=ae67ea324</strong><br/>
  I can get the values of query string with codes <code>ParamsWithValue.UID</code> &amp;  <code>ParamsWithValue.FacebookID</code> respectively.</p>
  
  <p><strong>Issue:</strong> I am able to get the values of any number of parameters passed in the same way described above. But for second time onwards I am getting the following error in response on browser.</p>
  
  <p><strong>Error</strong>:</p>
  
  <pre><code>{"code":"InternalError","message":"Cannot read property 'query' of undefined"}
  </code></pre>
  
  <p><strong>Question</strong>: What is wrong in the approach to read the query string from the URL.</p>
  
  <p><strong>Note</strong>: I don't want to use any frameworks to parse it. I am trying to depend on built-in modules only.
  <hr>
  <strong>Update</strong>: It responds correctly when the value of any of the parameter is changed. But if the same values requested again from even different browser it throws same error.</p>