<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012487" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012487</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/random-asp-pages#comment-1072904</link>
    <description> &lt;p&gt;Simon,&lt;/p&gt;
&lt;p&gt;Your code should work fine. Remember if you want the random ASP page to load you&#039;ll have to use:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; Response&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Redirect &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;random&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;textRandomNmuber &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;.asp&quot; &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Peter J. Boettcher&lt;/p&gt;
 </description>
     <pubDate>Tue, 17 Oct 2000 15:30:19 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1072904 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/random-asp-pages#comment-1072592</link>
    <description> &lt;p&gt;CStr() may be the function your refering to, Karin.&lt;/p&gt;
&lt;p&gt;But I don&#039;t see why you need to convert number to a string... Your appending it to something.  Why should ASP/VB care if your appending a str or int?&lt;/p&gt;
 </description>
     <pubDate>Thu, 12 Oct 2000 06:55:22 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1072592 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/random-asp-pages#comment-1072244</link>
    <description> &lt;p&gt;I hesitated to reply because I don&#039;t have my ASP books here at work, so I can&#039;t give a detailed answer.  But I think you need to put textRandomNmuber through a function to change it from a &lt;strong&gt;number&lt;/strong&gt; into a &lt;strong&gt;string&lt;/strong&gt;.  Something like this:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;Filename &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;random&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Str&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;textRandomNmuber&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;.asp&quot;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Str() may be the wrong function name, but there&#039;s something (in ASP or VBasic) along these lines for this kind of type conversion.  You can either look it up, or maybe some kind forum member will post it here &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;.&lt;/p&gt;
&lt;p&gt;Kristen, who has a parrot named &quot;Simon&quot;!&lt;/p&gt;
 </description>
     <pubDate>Wed, 04 Oct 2000 14:42:17 +0000</pubDate>
 <dc:creator>KLWong</dc:creator>
 <guid isPermaLink="false">comment 1072244 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/random-asp-pages#comment-1072150</link>
    <description> &lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;  I&#039;m not an ASPer, but... when I ran your code (using document.write() instead of response.write), I got &quot;randomX.asp&quot; where X was the random number.  If you are attempting to load the random page, I would presume you need something to tell it to load. Something like:&lt;br /&gt;
window.location=&quot;random&quot;&amp;amp;textRandomNmuber&amp;amp;&quot;.asp&quot;&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Mon, 02 Oct 2000 16:59:59 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1072150 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
