Request.Querystring not coming properly
-
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.
-
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.
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