Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Request.Querystring not coming properly

Request.Querystring not coming properly

Scheduled Pinned Locked Moved ASP.NET
designhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    codeprojectin
    wrote on last edited by
    #1

    Hi, I have got the following code in default.aspx.cs (root home page) - public class clsHome : System.Web.UI.Page { string sQS; sQS = Request.QueryString.ToString(); } public string bframe() { string sValue=string.Empty; Response.Write("sQS:" + sQS.ToString()); Response.Write("QS:" + Request.QueryString.ToString() + " - " + Request.QueryString.Count.ToString()); } when i run this code, request.querystring() randomly works or mostly doesnt.. I have also disabled page caching which i had earlier now, only the function is there which i pass on the querystring to a subframe which redirects. any solution on this? What I want to achieve is -- I have 3 frames top, left and 'bottom right' frames, I use Querystring to redirect users from default.aspx page to welcome.aspx page (bottom right frame) so that i want to display the app. page to the user based on Querystring. (Note: the users will get a link from my top frame which emails them about the app. page as my site title will always be my company name as the website is in frames!) please paste code if possible or any help is also fine! Thank you.

    M 1 Reply Last reply
    0
    • C codeprojectin

      Hi, I have got the following code in default.aspx.cs (root home page) - public class clsHome : System.Web.UI.Page { string sQS; sQS = Request.QueryString.ToString(); } public string bframe() { string sValue=string.Empty; Response.Write("sQS:" + sQS.ToString()); Response.Write("QS:" + Request.QueryString.ToString() + " - " + Request.QueryString.Count.ToString()); } when i run this code, request.querystring() randomly works or mostly doesnt.. I have also disabled page caching which i had earlier now, only the function is there which i pass on the querystring to a subframe which redirects. any solution on this? What I want to achieve is -- I have 3 frames top, left and 'bottom right' frames, I use Querystring to redirect users from default.aspx page to welcome.aspx page (bottom right frame) so that i want to display the app. page to the user based on Querystring. (Note: the users will get a link from my top frame which emails them about the app. page as my site title will always be my company name as the website is in frames!) please paste code if possible or any help is also fine! Thank you.

      M Offline
      M Offline
      MichaelWithersone
      wrote on last edited by
      #2

      I have the same problem with queryString sometimes works but mostly not., did you ever manage to get this working and if so what was the solution

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups