<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : display user account name &#111;n CustPref.asp</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : display user account name &#111;n CustPref.asp]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 12 Apr 2026 19:27:17 +0000</pubDate>
  <lastBuildDate>Fri, 09 Apr 2010 05:48:26 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=17</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[display user account name &#111;n CustPref.asp : I wonder how difficult this would...]]></title>
   <link>https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post13962.html#13962</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1220">BlackReefDesigns</a><br /><strong>Subject:</strong> 17<br /><strong>Posted:</strong> 09-April-2010 at 5:48am<br /><br />I wonder how difficult this would be to setup first name only?<br><br>ex: instead of 'Welcome Back Jeff Schwartz | Logout'<br><br>It simply says 'Welcome Jeff | Logout<br><br>Here is the current code I am using:<br><br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> &lt;% if session("idCustomer")="0" or session("idCustomer")="" then %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a href="CustPref.asp"&gt;Create&nbsp; Account&lt;/a&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% else %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;%response.write(dictLanguage.Item(Session("language")&amp;"_CustPref_10") &amp; session("pcStrCustName") &amp; "!")%&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% end if %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% if session("idCustomer")="0" or session("idCustomer")="" then %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;a href="custpref.asp" &gt;Log In&lt;/a&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% else %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;a href="default.asp?action=clear"&gt;Log Off&lt;/a&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% end if %&gt;</td></tr></table><br>]]>
   </description>
   <pubDate>Fri, 09 Apr 2010 05:48:26 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post13962.html#13962</guid>
  </item> 
  <item>
   <title><![CDATA[display user account name &#111;n CustPref.asp : I got this to work, but only after...]]></title>
   <link>https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post2190.html#2190</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=502">Rob-CFLHD</a><br /><strong>Subject:</strong> 17<br /><strong>Posted:</strong> 20-April-2007 at 9:53am<br /><br /><P>I got this to work, but only after the user visits their information page.&nbsp; it will just say Hi and not show a name until they visit their information page.&nbsp; It seems that it is querying the pages, not the database for the user name.&nbsp; How could this be fixed?&nbsp;&nbsp;</P><P>&nbsp;</P><P>&lt;div id="myAccount"&gt;<BR>&nbsp;&nbsp;&lt;font face="Arial, Helvetica, sans-serif" size="-1" color="#024d90"&gt;<BR>&nbsp;&nbsp;&lt;b&gt;Hello&lt;/b&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;%&nbsp; <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Display Name of customer if logged in<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if session("idCustomer")="0" or session("idCustomer")="" then%&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &lt;b&gt;Guest&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;/f ont&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% else %&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;b&gt;&lt;%<BR>&nbsp;&nbsp;&nbsp;&nbsp;if (Session("CustomerName"))&gt;"0" Then  Response.Write(Session("CustomerName"))%&gt;&lt;/b&gt;&amp;n bsp;&amp;nbsp;&lt;br&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% end if %&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' If the customer is not an affiliate and is not logged in<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' show a link to the registration page.<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if session("idCustomer")="0" or session("idCustomer")="" then%&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a href="custPref.asp"&gt;&lt;font face="Arial, Helvetica, sans-serif" size="-1"  color="#024d90"&gt;Login&lt;/font&gt;&lt;/a&gt;&amp;nbsp;&am p;nbsp;|&amp;nbsp;&amp;nbsp;&lt;a  href="custPref.asp"&gt;&lt;font face="Arial, Helvetica, sans-serif" size="-1"  color="#024d90"&gt;Register&lt;/font&gt;&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% else <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' If the Wish List feature is active, show a link to it<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (scWL="-1") or ((scBTO=1) and (iBTOQuote=1)) then%&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;a href="custPref.asp"&gt;&lt;font face="Arial, Helvetica, sans-serif" size="-1" color="#024d90"&gt;My  Account&lt;/font&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;|&amp;nbsp ;&amp;nbsp;&lt;a href="Custwlview.asp"&gt;&lt;font face="Arial, Helvetica, sans-serif" size="-1"  color="#024d90"&gt;Wishlist&lt;/font&gt;&lt;/a&gt;&amp;nbsp; &amp;nbsp;|&amp;nbsp;&amp;nbsp;&lt;a  href="CustLO.asp"&gt;&lt;font face="Arial, Helvetica, sans-serif" size="-1" color="#024d90"&gt;Log Out&lt;/font&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% end if %&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% end if %&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- End My Account --&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/div&gt;</P>]]>
   </description>
   <pubDate>Fri, 20 Apr 2007 09:53:38 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post2190.html#2190</guid>
  </item> 
  <item>
   <title><![CDATA[display user account name &#111;n CustPref.asp : You header.asp code looks correct....]]></title>
   <link>https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post846.html#846</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=77">netprofits</a><br /><strong>Subject:</strong> 17<br /><strong>Posted:</strong> 10-July-2006 at 7:57am<br /><br />You header.asp code looks correct. Are you setting session("customerName") in the routine where a customer logs in as described in the post above from May 18th? Are you getting an error or is it just not displaying the name?]]>
   </description>
   <pubDate>Mon, 10 Jul 2006 07:57:18 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post846.html#846</guid>
  </item> 
  <item>
   <title><![CDATA[display user account name &#111;n CustPref.asp : I still can&amp;#039;t figure it out....]]></title>
   <link>https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post841.html#841</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=178">Aeon</a><br /><strong>Subject:</strong> 17<br /><strong>Posted:</strong> 09-July-2006 at 11:50pm<br /><br />I still can't figure it out. How do I make it appear on header.asp?<br>This is my current code<br><br>&lt;div id="myAccount"&gt;Hi<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;%&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ' Display Name of customer if logged in<br>&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if session("idCustomer")="0" or session("idCustomer")="" then%&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Guest,&amp;nbsp;&amp;nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;% else %&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;  &lt;strong&gt;&lt;%=session("customerName")%&gt;&lt;/strong& gt;,&amp;nbsp;&amp;nbsp;&lt;a href="custPref.asp"&gt;Your Account&lt;/a&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;% end if %&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;% <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ' If the customer is not an affiliate and is not logged in<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ' show a link to the registration page.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if session("idCustomer")="0" or session("idCustomer")="" then%&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;a  href="custPref.asp"&gt;Login&lt;/a&gt;&amp;nbsp;&amp;nbsp;&l t;span style="color: #FF0000"&gt;/&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;a href="custPref.asp"&gt;Register&lt;/a&gt;&lt;/div&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;% else <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ' If the Wish List feature is active, show a link to it<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (scWL="-1") or ((scBTO=1) and (iBTOQuote=1)) then%&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;a href="custPref.asp"&gt;My Account&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: #FF0000"&gt;/&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;a  href="Custquotesview.asp"&gt;Wishlist&lt;/a&gt;&amp;nbsp;&am p;nbsp;&lt;span style="color: #FF0000"&gt;/&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;a href="CustLO.asp"&gt;Log Out&lt;/a&gt;&lt;/div&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;% end if %&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;% end if %&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;!-- End My Account --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/div&gt;<br>]]>
   </description>
   <pubDate>Sun, 09 Jul 2006 23:50:26 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post841.html#841</guid>
  </item> 
  <item>
   <title><![CDATA[display user account name &#111;n CustPref.asp : First the customer has to login...]]></title>
   <link>https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post798.html#798</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=77">netprofits</a><br /><strong>Subject:</strong> 17<br /><strong>Posted:</strong> 03-July-2006 at 8:40am<br /><br /><P>First the customer has to login so you can set the session variables as described in the posts above. Once the session variables&nbsp;are set, you can display them anywhere. You would need to check if the values are set before trying to display them. In the header.asp file, use code like:</P><P><table width="99%"><tr><td><pre class="BBcode"><BR>If Len(Session("CustomerName")) &gt; 0 Then Response.Write(Session("CustomerName"))<BR></pre></td></tr></table></P>]]>
   </description>
   <pubDate>Mon, 03 Jul 2006 08:40:28 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post798.html#798</guid>
  </item> 
  <item>
   <title><![CDATA[display user account name &#111;n CustPref.asp : How do I display the customer...]]></title>
   <link>https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post797.html#797</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=178">Aeon</a><br /><strong>Subject:</strong> 17<br /><strong>Posted:</strong> 03-July-2006 at 4:44am<br /><br />How do I display the customer name on header.asp?<br>how do I reference to it?<br>]]>
   </description>
   <pubDate>Mon, 03 Jul 2006 04:44:25 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post797.html#797</guid>
  </item> 
  <item>
   <title><![CDATA[display user account name &#111;n CustPref.asp : Custvb.asp is called from custva.asp...]]></title>
   <link>https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post582.html#582</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=77">netprofits</a><br /><strong>Subject:</strong> 17<br /><strong>Posted:</strong> 18-May-2006 at 6:59am<br /><br /><P>Custvb.asp is called from custva.asp which is where a customer logs in.&nbsp;In Custvb.asp, around line 114, the customer login has been&nbsp;validated and the customer name is loaded in the record set. You could just add a line like:</P><P>Session("CustomerName") = rsCustObj("name") &amp; " " &amp; rsCustObj("lastName")</P><P>Then you can use Session("CustomerName") to display the customer's name in other pages. To be safe, you could test that Session("CustomerName") is not null before displaying a message with the name.</P>]]>
   </description>
   <pubDate>Thu, 18 May 2006 06:59:05 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post582.html#582</guid>
  </item> 
  <item>
   <title><![CDATA[display user account name &#111;n CustPref.asp : hi nothing  -   can you tell me...]]></title>
   <link>https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post475.html#475</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=45">blackdesk</a><br /><strong>Subject:</strong> 17<br /><strong>Posted:</strong> 10-April-2006 at 4:02pm<br /><br />hi nothing  - <br /><br />can you tell me where you pasted the code?<br /><br />thanks!<br />b]]>
   </description>
   <pubDate>Mon, 10 Apr 2006 16:02:32 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post475.html#475</guid>
  </item> 
  <item>
   <title><![CDATA[display user account name &#111;n CustPref.asp : got it.not the cleanest code,...]]></title>
   <link>https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post36.html#36</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=22">Nothing</a><br /><strong>Subject:</strong> 17<br /><strong>Posted:</strong> 02-November-2005 at 7:20am<br /><br /><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>got it.<BR>not the cleanest code, but it works for now.</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>&lt;%<BR>dim conntemp, mysql, rs, ttk<BR>ttk=session("idCustomer")<BR>call openDb()<BR>mysql="SELECT name FROM customers WHERE idCustomer=" &amp;ttk<BR>set rs=conntemp.execute(mySQL)<BR>session("customerName")=rs("Name")<BR>call closeDb()<BR>%&gt;</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>i added the above code&nbsp;to the <strong>CustPref.asp</strong> page and used "<strong>&lt;%=session("customerName")%&gt;</strong>" to display the account name where needed.</FONT></P><P><FONT face=Verdana size=2>later!<BR>n0thing</FONT></P>]]>
   </description>
   <pubDate>Wed, 02 Nov 2005 07:20:48 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post36.html#36</guid>
  </item> 
  <item>
   <title><![CDATA[display user account name &#111;n CustPref.asp : hello all. i&amp;#039;m trying to...]]></title>
   <link>https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post35.html#35</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=22">Nothing</a><br /><strong>Subject:</strong> 17<br /><strong>Posted:</strong> 02-November-2005 at 4:18am<br /><br /><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>hello all.</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>i'm trying to display the user's account name when they enter the <strong>CustPref.asp</strong> page. </FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>I'm trying to say&nbsp;"welcome back &lt;%=session("customerName")%&gt;", but this only works if they&nbsp;visit the "edit Personal Information" page to set the session&nbsp;customerName.</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>any ideas?<BR>thanks!</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>n0thing</FONT></P>]]>
   </description>
   <pubDate>Wed, 02 Nov 2005 04:18:42 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/display-user-account-name-on-custpref-asp_topic17_post35.html#35</guid>
  </item> 
 </channel>
</rss>