<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Master Pages, Themes and Navigation Controls</title><link>http://forums.asp.net/139.aspx</link><description>Discussions of MasterPages, Themes, and other page-related features. &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=164&amp;amp;c=30" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Pass queryString with the Sitemap Node</title><link>http://forums.asp.net/thread/3275107.aspx</link><pubDate>Sun, 05 Jul 2009 04:53:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275107</guid><dc:creator>Bobby-Z</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275107.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3275107</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It looks fine, but are you receiving it on the other page. ie Have your programmed it to receive the query (Visual Basic)&lt;/p&gt;
&lt;p&gt;request.querystring(&amp;quot;UserID&amp;quot;).ToString&lt;/p&gt;
&lt;p&gt;so lets say you are using it to display a xslt transfom fro an xml datasource&lt;/p&gt;
&lt;p&gt;XmlDataSource1.TransformSource = &amp;quot;../file_&amp;quot; + request.querystring(&amp;quot;ID&amp;quot;) = &amp;quot;.xsl&amp;quot;&lt;/p&gt;
&lt;p&gt;What you have will work but it is like having a QB without a receiver on the second page. &lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if this was your problem, but I hope it helped you to check through your problem step by step&lt;/p&gt;
&lt;p&gt;but yes he is right you do NOT want to pass a user id through a querystring since it is readable.&lt;/p&gt;
&lt;p&gt;The better thing to do is pass your values to the next page, then get the userID.&lt;/p&gt;</description></item><item><title>Re: Pass queryString with the Sitemap Node</title><link>http://forums.asp.net/thread/3275103.aspx</link><pubDate>Sun, 05 Jul 2009 04:50:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275103</guid><dc:creator>Bobby-Z</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275103.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3275103</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It looks fine, but are you receiving it on the other page. ie Have your programmed it to receive the query (Visual Basic)&lt;/p&gt;
&lt;p&gt;request.querystring(&amp;quot;UserID&amp;quot;).ToString&lt;/p&gt;
&lt;p&gt;so lets say you are using it to display a xslt transfom fro an xml datasource&lt;/p&gt;
&lt;p&gt;XmlDataSource1.TransformSource = &amp;quot;../file_&amp;quot; + request.querystring(&amp;quot;ID&amp;quot;) = &amp;quot;.xsl&amp;quot;&lt;/p&gt;
&lt;p&gt;What you have will work but it is like having a QB without a receiver on the second page. &lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if this was your problem, but I hope it helped you to check through your problem step by step&lt;/p&gt;</description></item><item><title>Re: Pass queryString with the Sitemap Node</title><link>http://forums.asp.net/thread/3274479.aspx</link><pubDate>Sat, 04 Jul 2009 08:42:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274479</guid><dc:creator>Dave Sussman</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274479.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3274479</wfw:commentRss><description>&lt;p&gt;The first thing you should do is NOT pass the user id int he query string, because it&amp;#39;s visible to users. That means they could just alter the query string&amp;nbsp;value in the browser address bar and pretend they were another user. The simplest solution is to store it in the session.&amp;nbsp;So when the user logs in just&amp;nbsp;do:&lt;/p&gt;
&lt;p&gt;Session(&amp;quot;UserID&amp;quot;) = 1&lt;/p&gt;
&lt;p&gt;Then in your other pages you can just have:&lt;/p&gt;
&lt;p&gt;Dim UserID as Integer = Integer.Parse(Session(&amp;quot;UserID&amp;quot;))&lt;/p&gt;
&lt;p&gt;In fact, if you need to protect pages so that users have to be logged in, do:&lt;/p&gt;
&lt;p&gt;Dim UserID As Integer&lt;br /&gt;If&amp;nbsp;String.IsNullOrEmpty(Session(&amp;quot;UserID&amp;quot;)&amp;nbsp;Then&lt;br /&gt;&amp;nbsp; Response.Redirect(&amp;quot;Login.aspx&amp;quot;)&lt;br /&gt;Else&lt;br /&gt;&amp;nbsp; UserID = Integer.Parse(Session(&amp;quot;UserID&amp;quot;))&lt;br /&gt;End If&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Pass queryString with the Sitemap Node</title><link>http://forums.asp.net/thread/3274293.aspx</link><pubDate>Sat, 04 Jul 2009 05:43:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274293</guid><dc:creator>AvanthaSiriwardana</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274293.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3274293</wfw:commentRss><description>&lt;p&gt;Hi Dave Sussman
&lt;/p&gt;&lt;p&gt;
I&amp;#39;m pretty much happy cause you have reached to the point I want. 
I have a loggin control in my homepage and once the user logs in it should pass to the other pages
Via the sitemap as well.

But the thing is I don’t use that in built membership and user controls since I have my own created database for handling user details.


When user clicks on the site map, userID should go into the next page and the output should look like this.

http://localhost:1442/Web/MyAccount.aspx?userID=2&lt;/p&gt;</description></item><item><title>Re: Pass queryString with the Sitemap Node</title><link>http://forums.asp.net/thread/3273834.aspx</link><pubDate>Fri, 03 Jul 2009 16:28:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273834</guid><dc:creator>Dave Sussman</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273834.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3273834</wfw:commentRss><description>&lt;p&gt;The query string that gets passed is exactly what you type, so your query string contains UserID=UserID, which I assume isn&amp;#39;t what you want; I guess you want the value of some UserID variable passed in there. So, the question is, where does that UserID come from? Is it just the ID of the currently logged in user? If so you don&amp;#39;t need to pass it in because it&amp;#39;s available from the membership system. Or is it coming from wsomewhere else?&lt;/p&gt;</description></item><item><title>Re: Pass queryString with the Sitemap Node</title><link>http://forums.asp.net/thread/3273687.aspx</link><pubDate>Fri, 03 Jul 2009 14:34:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273687</guid><dc:creator>integrasol</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273687.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3273687</wfw:commentRss><description>&lt;p&gt;It works fine here, but where does it go wrong at your end? Does the query string not get passed on, or is it on the destination page you have problems?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Pass queryString with the Sitemap Node</title><link>http://forums.asp.net/thread/3273356.aspx</link><pubDate>Fri, 03 Jul 2009 11:03:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273356</guid><dc:creator>AvanthaSiriwardana</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273356.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3273356</wfw:commentRss><description>&lt;p&gt;&lt;font class="Apple-style-span" face="tahoma"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font class="Apple-style-span" face="tahoma"&gt;&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;Dear Friends.&amp;nbsp;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;I have an application and I want to pass a QueryString inside the sitemap URL... How can I do that.??&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;lt;siteMap xmlns=&amp;quot;http://schemas.microsoft.com/AspNet/SiteMap-File-1.0&amp;quot; &amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;Default.aspx&amp;quot; title=&amp;quot;Home&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; &amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;Browse.aspx&amp;quot; title=&amp;quot;Browse&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;ShoppingCart.aspx&amp;quot; title=&amp;quot;Shopping Cart&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;MyAccount.aspx?userID=UserID&amp;quot; title=&amp;quot;My Account&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt; &amp;nbsp;(here it does not work !)&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;OrderTracking.aspx&amp;quot; title=&amp;quot;Order Tracking&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;AboutUs.aspx&amp;quot; title=&amp;quot;About Us&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;ContactUs.aspx&amp;quot; title=&amp;quot;Contact Us&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/siteMapNode&amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;lt;/siteMap&amp;gt;&lt;/div&gt;&lt;p&gt;Dear Friends.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have an application and I want to pass a QueryString inside the sitemap URL... How can I do that.??&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;siteMap xmlns=&amp;quot;http://schemas.microsoft.com/AspNet/SiteMap-File-1.0&amp;quot; &amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;Default.aspx&amp;quot; title=&amp;quot;Home&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; &amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;Browse.aspx&amp;quot; title=&amp;quot;Browse&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;ShoppingCart.aspx&amp;quot; title=&amp;quot;Shopping Cart&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;MyAccount.aspx?userID=UserID&amp;quot; title=&amp;quot;My Account&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt; &amp;nbsp;(here it does not work !)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;OrderTracking.aspx&amp;quot; title=&amp;quot;Order Tracking&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;AboutUs.aspx&amp;quot; title=&amp;quot;About Us&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;siteMapNode url=&amp;quot;ContactUs.aspx&amp;quot; title=&amp;quot;Contact Us&amp;quot; &amp;nbsp;description=&amp;quot;&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/siteMapNode&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/siteMap&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please advice,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;regds&lt;/p&gt;&lt;p&gt;Avantha Siriwardana&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description></item></channel></rss>