<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1015040" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1015040</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Brilliant!</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/asp-and-passsing-data-between-pages#comment-1086775</link>
    <description> &lt;p&gt;Thank you very much.  I have this application working right now but that is a great idea.  I will use that in the future.&lt;/p&gt;
 </description>
     <pubDate>Wed, 08 Aug 2001 15:03:28 +0000</pubDate>
 <dc:creator>artsapimp</dc:creator>
 <guid isPermaLink="false">comment 1086775 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/asp-and-passsing-data-between-pages#comment-1086740</link>
    <description> &lt;p&gt;I don&#039;t know for sure if this answers your question, but I performed a hack that lets you pass 2 vars through one form element.&lt;/p&gt;
&lt;p&gt;Here&#039;s the example:&lt;/p&gt;
&lt;p&gt;Illinois&lt;/p&gt;
&lt;p&gt;The &quot;&amp;amp;&quot; adds the second value pair: state_id=66, so the resulting target becomes:&lt;/p&gt;
&lt;p&gt;nextpage.phtml?state_name=Illinois&amp;amp;state_id=66&lt;/p&gt;
&lt;p&gt;You could theoretically pass as many values as you want, all throught the one select element.&lt;/p&gt;
 </description>
     <pubDate>Wed, 08 Aug 2001 01:34:44 +0000</pubDate>
 <dc:creator>sersun</dc:creator>
 <guid isPermaLink="false">comment 1086740 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/asp-and-passsing-data-between-pages#comment-1086719</link>
    <description> &lt;p&gt;Thank you very much, you have answered my question.  After trying it I found it was impossible to do it the way I wanted so I had to create a little bit of sloppy code to make it work.  I will try to explain it and please tell me if you can think of a better way.&lt;/p&gt;
&lt;p&gt;The application is a Decision Tree for employees in a technical support department.  Once the employee chooses the error the customer is getting he is then faced with Yes No questions and troubleshooting steps 1 at a time to walk him/her through the processes.  Each step is then saved into a session seperated by a comma.  The rep can then hit a &quot;Copy Notes&quot; button which copies everything done into the clipboard so he/she can paste it into the internal ticketing system.&lt;/p&gt;
&lt;p&gt;The way I display the notes before being copied is by splitting them into an array and writing them into a table on one side of the screen.  Every step taken creates another step which adds to the notes.  Because I need the rep to see the notes, not the autonumber which is how I could find the associated troubleshooting steps.  I am forced to pass 2 pieces of data (Autonumber &amp;amp; Statement) to make that happen.&lt;/p&gt;
&lt;p&gt;I ended up passing the notes as &quot;Autonumber, Statement, &quot; and then I am running an if statement to check for a numeric value for each node of the array.  If it is a number I am creating the link and not displaying the number, otherwise I am just writing the step taken.&lt;/p&gt;
&lt;p&gt;I&#039;m sorry if this didn&#039;t make much sense but like I said I&#039;m not good at explaining this.&lt;/p&gt;
&lt;p&gt;Has anyone created something like this before?  Is there anything I&#039;m missing?&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
 </description>
     <pubDate>Tue, 07 Aug 2001 17:51:43 +0000</pubDate>
 <dc:creator>artsapimp</dc:creator>
 <guid isPermaLink="false">comment 1086719 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/asp-and-passsing-data-between-pages#comment-1086718</link>
    <description> &lt;p&gt;if your going to be passing anything via the querystring, be sure to escape everything.&lt;br /&gt;
ASP: Server.URLEncode(string)&lt;br /&gt;
JS:  escape(string)&lt;/p&gt;
&lt;p&gt;You can also pass values between pages via cookies.&lt;/p&gt;
&lt;p&gt;If you want to pass multiple values in one form item, try mixing the value.  Here is some Quicky Code (untested).  I haven&#039;t played with ASP for a while, so there may be a better way to do this.&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;## HTML PAGE ##&lt;br /&gt;&amp;lt;select name=&amp;quot;blah&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;option value=&amp;quot;id|statement&amp;quot;&amp;gt;option1&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;br /&gt;&lt;br /&gt;## ASP PAGE ##&lt;br /&gt;&amp;lt;%&lt;br /&gt;tmp_array = split(Request.Form(&amp;quot;blah&amp;quot;), &amp;quot;|&amp;quot;)&lt;br /&gt;id = tmp_array(0)&lt;br /&gt;statement = tmp_array(1)&lt;br /&gt;%&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
curious.. why are you passing an autonumber?&lt;/p&gt;
 </description>
     <pubDate>Tue, 07 Aug 2001 17:26:32 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1086718 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
