<?xml version="1.0" encoding="utf-8" ?><?xml-stylesheet type="text/xsl" href="http://www.daniweb.com/js/rss.xsl"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community
			 - ASP					</title>
		<link>http://www.daniweb.com/web-development/asp/62</link>
		<description>Our ASP forum is the place for Q&amp;A-style discussions related to this legacy version of Microsoft's development framework.  Note we have a separate ASP.NET forum that might be more appropriate. There is an MS SQL forum within the Databases sub-category to use in tandem to ASP.</description>
		<language>en-US</language>
		<ttl>60</ttl>
		<!-- PubSubHubbub Discovery -->
		<link rel="hub" href="http://daniweb.superfeedr.com/" xmlns="http://www.w3.org/2005/Atom" />
		<link rel="hub" href="http://pubsubhubbub.superfeedr.com/" xmlns="http://www.w3.org/2005/Atom" />
		<link rel="hub" href="http://pubsubhubbub.appspot.com/" xmlns="http://www.w3.org/2005/Atom" />
		<link rel="self" href="http://www.daniweb.com/rss/pull/62" xmlns="http://www.w3.org/2005/Atom" />
		<!-- End Of PubSubHubbub Discovery -->
				<item>
			<title>web developmet</title>
			<link>http://www.daniweb.com/web-development/asp/threads/456710/web-developmet</link>
			<pubDate>Sat, 15 Jun 2013 09:42:04 +0000</pubDate>
			<description>Please I want to know. between ASP and PHP, which is better for web development?</description>
			<content:encoded><![CDATA[ <p>Please I want to know. between ASP and PHP, which is better for web development?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/asp/62">ASP</category>
			<dc:creator>austin.datong</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/asp/threads/456710/web-developmet</guid>
		</item>
				<item>
			<title>ASP/jQuery and &quot;View Source Code&quot; question</title>
			<link>http://www.daniweb.com/web-development/asp/threads/456644/aspjquery-and-view-source-code-question</link>
			<pubDate>Fri, 14 Jun 2013 14:53:00 +0000</pubDate>
			<description>I have a webpage in ASP, that scraps the content from another website using: Set http = Server.CreateObject(&quot;MSXML2.ServerXMLHTTP.3.0&quot;) http.open &quot;GET&quot;, &quot;http://www.thesite.com/thepage.aspx&quot;, true http.send getURL=http.responsetext I then examine the content of &quot;getURL&quot; for certain text.... The problem is, that website has changed from static HTML, to using jQuery - which probably ...</description>
			<content:encoded><![CDATA[ <p>I have a webpage in ASP, that scraps the content from another website using:</p>

<p>Set http = Server.CreateObject("MSXML2.ServerXMLHTTP.3.0")<br />
http.open "GET", "<a href="http://www.thesite.com/thepage.aspx" rel="nofollow">http://www.thesite.com/thepage.aspx</a>", true<br />
http.send<br />
getURL=http.responsetext</p>

<p>I then examine the content of "getURL" for certain text....</p>

<p>The problem is, that website has changed from static HTML, to using jQuery - which probably triggers another file to produce some content, etc....so if you do a VIEW SOURCE CODE in the browser on that site, you only see the jQuery, not the actual text/html you see in the browser, so this renders my program useless.</p>

<p>I understand this is because when you download a webpage, the browser display the source before the browser contructs the DOM. You can view the DOM with plugins like firebug (firefox), web inspector (safari), developer tools (ie), etc...</p>

<p>But can you do this programmatically?????</p>

<p>Thanks for any comments.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/asp/62">ASP</category>
			<dc:creator>dstoltz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/asp/threads/456644/aspjquery-and-view-source-code-question</guid>
		</item>
				<item>
			<title>Classic ASP - for how long?</title>
			<link>http://www.daniweb.com/web-development/asp/threads/456367/classic-asp-for-how-long</link>
			<pubDate>Tue, 11 Jun 2013 02:37:54 +0000</pubDate>
			<description>I ask myself this often - I've been using it for well over a decade, and still use ASP to build most of my sites - why? I consider it rock solid, mature, and something I'm very confortable with. And although I don't see support for it going away, I'm ...</description>
			<content:encoded><![CDATA[ <p>I ask myself this often - I've been using it for well over a decade, and still use ASP to build most of my sites - why? I consider it rock solid, mature, and something I'm very confortable with. And although I don't see support for it going away, I'm constantly question myself what direction to go in next...</p>

<p>My two obvious choices are PHP or ASP.Net - I've done some PHP, and even less ASP.Net. That said, I'm not truly fond of either.</p>

<p>I feel like I'm at a career changing point in my life - and not sure what direction to turn in. Whatever way my compass points, I want to be passionate about it and become an expert.</p>

<p>Does anyone have any similar stories to share, advice, or thoughts?</p>

<p>Thanks for listening...</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/asp/62">ASP</category>
			<dc:creator>dstoltz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/asp/threads/456367/classic-asp-for-how-long</guid>
		</item>
				<item>
			<title>javascript validation</title>
			<link>http://www.daniweb.com/web-development/asp/threads/456196/javascript-validation</link>
			<pubDate>Sat, 08 Jun 2013 05:36:32 +0000</pubDate>
			<description>Please give me the suggesion for There is two text fields, calling a javascript fucntion onblur of 1st field and it will passing this value to javascript fucn and javascript functio again calling another page for sql query checking with this passing value. If sql query returns value it returns ...</description>
			<content:encoded><![CDATA[ <p>Please give me the suggesion for</p>

<p>There is two text fields, calling a javascript fucntion onblur of 1st field and it will passing this value to javascript fucn and javascript functio again calling another page for sql query checking with this passing value. If sql query returns value it returns a message or value to assign in main page in javascript one tmp variable.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/asp/62">ASP</category>
			<dc:creator>gurumurti_s</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/asp/threads/456196/javascript-validation</guid>
		</item>
				<item>
			<title>MENU/DB/Globalisation</title>
			<link>http://www.daniweb.com/web-development/asp/threads/455948/menudbglobalisation</link>
			<pubDate>Tue, 04 Jun 2013 14:09:25 +0000</pubDate>
			<description>HI all, anybody know ho to put globalization inside a menu that is created from a DB. Can anybody tell me how i tranform a string to code? best regards</description>
			<content:encoded><![CDATA[ <p>HI all,</p>

<p>anybody know ho to put globalization inside a menu that is created from a DB.</p>

<p>Can anybody tell me how i tranform a string to code?</p>

<p>best regards</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/asp/62">ASP</category>
			<dc:creator>maxpaine69</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/asp/threads/455948/menudbglobalisation</guid>
		</item>
				<item>
			<title>Web Application in ASP</title>
			<link>http://www.daniweb.com/web-development/asp/threads/455875/web-application-in-asp</link>
			<pubDate>Mon, 03 Jun 2013 12:10:02 +0000</pubDate>
			<description>Hi Folks, I have a web application developed in Classic ASP. After the user successfully logs in, the &quot;main page&quot; of the application stays on the screen (all other functions are done in DHTML/CSS pop up windows). The main page contents are updated with jQuery, so the page never physically ...</description>
			<content:encoded><![CDATA[ <p>Hi Folks,</p>

<p>I have a web application developed in Classic ASP. After the user successfully logs in, the "main page" of the application stays on the screen (all other functions are done in DHTML/CSS pop up windows). The main page contents are updated with jQuery, so the page never physically refreshes, but the first lines of code on the page are:</p>

<p>&lt;%<br />
Response.Expires = 0<br />
Response.CacheControl = "No-cache"<br />
Response.AddHeader "pragma","no-cache"<br />
session.Timeout = 540<br />
%&gt;</p>

<p>That session timeout should last 9 hours. But every once in a while, when a user clicks on a function (which pops up a window and checkes if the session is still valid) says the the session expired. So they have to log off and back on, kind of a pain.</p>

<p>On the server I have IIS (Server 2003 SP2) configured so that folder is an application, with the following settings:<br />
Enable Session State (checked) = 540<br />
Enable Buffering (checked)</p>

<p>I have it assigned to it's own application pool, with these settings:<br />
Recycle Worker Process (checked) = 1740 (not really sure what this does)<br />
Shutdown work processes after being idle (unchecked)</p>

<p>Can anyone suggest why the sessions sometimes end? Any thoughts?</p>

<p>Thank you!</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/asp/62">ASP</category>
			<dc:creator>dstoltz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/asp/threads/455875/web-application-in-asp</guid>
		</item>
				<item>
			<title>Getting data from Vimeo XML</title>
			<link>http://www.daniweb.com/web-development/asp/threads/455030/getting-data-from-vimeo-xml</link>
			<pubDate>Tue, 21 May 2013 08:01:31 +0000</pubDate>
			<description>I am trying to parse the XML for Vimeo clips, so that I can populate the thumbnail, Title and description on an ASP page. I can set the tartget to the Vimeo XML file, but cannot for the life of me get the actual content, let alsone isolate and use ...</description>
			<content:encoded><![CDATA[ <p>I am trying to parse the XML for Vimeo clips, so that I can populate the thumbnail, Title and description on an ASP page.</p>

<p>I can set the tartget to the Vimeo XML file, but cannot for the life of me get the actual content, let alsone isolate and use the various elements.</p>

<p>The XML generated for any clip is the same, here is an example:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;videos&gt;
&lt;video&gt;
&lt;id&gt;32748327&lt;/id&gt;
&lt;title&gt;Crafty - short film&lt;/title&gt;
&lt;description&gt;
A crafty housewife gets more than she bargained for when an activist shows up at her door. Starring Jenny Hagel and Amy Phillips.&lt;br /&gt; &lt;br /&gt; Screenings include Palm Springs International Shortfest, Nashville Film Festival, and Frameline: The San Francisco LGBT Film Festival&lt;br /&gt; Broadcast on The Logo Channel (MTV Networks)&lt;br /&gt; DVD release through Strand Releasing
&lt;/description&gt;
&lt;url&gt;<a href="http://vimeo.com/32748327" rel="nofollow">http://vimeo.com/32748327</a>&lt;/url&gt;
&lt;upload_date&gt;2011-11-27 15:14:18&lt;/upload_date&gt;
&lt;mobile_url&gt;<a href="http://vimeo.com/m/32748327" rel="nofollow">http://vimeo.com/m/32748327</a>&lt;/mobile_url&gt;
&lt;thumbnail_small&gt;<a href="http://b.vimeocdn.com/ts/221/767/221767629_100.jpg" rel="nofollow">http://b.vimeocdn.com/ts/221/767/221767629_100.jpg</a>&lt;/thumbnail_small&gt;
&lt;thumbnail_medium&gt;<a href="http://b.vimeocdn.com/ts/221/767/221767629_200.jpg" rel="nofollow">http://b.vimeocdn.com/ts/221/767/221767629_200.jpg</a>&lt;/thumbnail_medium&gt;
&lt;thumbnail_large&gt;<a href="http://b.vimeocdn.com/ts/221/767/221767629_640.jpg" rel="nofollow">http://b.vimeocdn.com/ts/221/767/221767629_640.jpg</a>&lt;/thumbnail_large&gt;
&lt;user_id&gt;3116245&lt;/user_id&gt;
&lt;user_name&gt;Erik Gernand&lt;/user_name&gt;
&lt;user_url&gt;<a href="http://vimeo.com/erikgernand" rel="nofollow">http://vimeo.com/erikgernand</a>&lt;/user_url&gt;
&lt;user_portrait_small&gt;<a href="http://b.vimeocdn.com/ps/760/760227_30.jpg" rel="nofollow">http://b.vimeocdn.com/ps/760/760227_30.jpg</a>&lt;/user_portrait_small&gt;
&lt;user_portrait_medium&gt;<a href="http://b.vimeocdn.com/ps/760/760227_75.jpg" rel="nofollow">http://b.vimeocdn.com/ps/760/760227_75.jpg</a>&lt;/user_portrait_medium&gt;
&lt;user_portrait_large&gt;<a href="http://b.vimeocdn.com/ps/760/760227_100.jpg" rel="nofollow">http://b.vimeocdn.com/ps/760/760227_100.jpg</a>&lt;/user_portrait_large&gt;
&lt;user_portrait_huge&gt;<a href="http://b.vimeocdn.com/ps/760/760227_300.jpg" rel="nofollow">http://b.vimeocdn.com/ps/760/760227_300.jpg</a>&lt;/user_portrait_huge&gt;
&lt;stats_number_of_likes&gt;4&lt;/stats_number_of_likes&gt;
&lt;stats_number_of_plays&gt;4948&lt;/stats_number_of_plays&gt;
&lt;stats_number_of_comments&gt;0&lt;/stats_number_of_comments&gt;
&lt;duration&gt;499&lt;/duration&gt;
&lt;width&gt;640&lt;/width&gt;
&lt;height&gt;360&lt;/height&gt;
&lt;tags&gt;comedy, film, lesbian, activist&lt;/tags&gt;
&lt;embed_privacy&gt;anywhere&lt;/embed_privacy&gt;
&lt;/video&gt;
&lt;/videos&gt;
</code></pre>

<p>The code I use on a page, should be able to get all the bits and show a thumbnail of the clip, which will then become a link to a modal page which will then run the actual video.</p>

<p>The code I am trying to work with is as follows, which is on a test page to see if I can use both YouYube and Vimeo clips and the URL is checked to see if it contais "vimeo":</p>

<pre><code>  &lt;% 

 ClipURL=Request("Clip") %&gt;


  &lt;% If (InStr(ClipURL,"vimeo"))&lt;&gt;0 Then 
response.Write("Vimeo Clip")

ClipID=Replace(ClipURL, "<a href="http://vimeo.com/" rel="nofollow">http://vimeo.com/</a>", "")
' run the code to show the clip %&gt;
  &lt;br /&gt;
  &lt;% XML_file ="<a href="http://vimeo.com/api/v2/video/" rel="nofollow">http://vimeo.com/api/v2/video/</a>"&amp; ClipID&amp;".xml" %&gt;&lt;br /&gt;
  &lt;%=XML_file  %&gt; &lt;a href="&lt;%= XML_file %&gt;" target="_blank"&gt;Link to the XML file&lt;/a&gt;&lt;br /&gt;

 &lt;br /&gt;



  &lt;%' code snippet from existing example on DaniWeb - has not results
' Create new XML reader object
Dim xmlDoc
Set xmlDoc = Server.CreateObject("Microsoft.XMLDOM")
' Load the specified XML file (returns XML output)
xmlDoc.load("<a href="http://vimeo.com/api/v2/video/" rel="nofollow">http://vimeo.com/api/v2/video/</a>"&amp; ClipID&amp;".xml")
' Parse XML
if xmlDoc.parseError.errorcode &lt;&gt; 0 then
  ' oops error in xml
  Response.Write("XML Error...&lt;br&gt;")
else
  ' get xml data
  Response.Write(xmlDoc.documentElement.childNodes(0).attributes.getNamedItem("code").nodeValue)
end if
%&gt;   

 &lt;% 'Thumbnail from the XML file to display here %&gt;

&lt;br /&gt;

&lt;/p&gt;
&lt;iframe src="<a href="http://player.vimeo.com/video/" rel="nofollow">http://player.vimeo.com/video/</a>&lt;%= ClipID %&gt;" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen&gt;&lt;/iframe&gt; 


So far I have had no luck at all with this and any assistance would be greatly appreciated.
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/asp/62">ASP</category>
			<dc:creator>HansK</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/asp/threads/455030/getting-data-from-vimeo-xml</guid>
		</item>
				<item>
			<title>Update multiples tables in access db with classic asp?</title>
			<link>http://www.daniweb.com/web-development/asp/threads/452411/update-multiples-tables-in-access-db-with-classic-asp</link>
			<pubDate>Sun, 14 Apr 2013 03:28:06 +0000</pubDate>
			<description>Hi everyone I was wondering if it was possible to update two tables in an access database with the same data input from a single form without doing anything to the actual database itself ie linking tables etc? I have asked this in other forums but have been shouted down ...</description>
			<content:encoded><![CDATA[ <p>Hi everyone</p>

<p>I was wondering if it was possible to update two tables in an access database with the same data input from a single form without doing anything to the actual database itself ie linking tables etc?</p>

<p>I have asked this in other forums but have been shouted down in every one saying its not the right way to do it, your database is obviously so badly written it will be unuseable etc etc.</p>

<p>My answer to that is this:  I don't care, I want to learn how to do it (if its possible) anyway and my website works fine with the database written just the way it is thank you very much!</p>

<p>This is not a "real" website, it is just a few pages I have written to enable me to learn asp and for that reason, its constantly evolving.  It is because of this evolution that I want to store data in 2 tables.  Can someone help?</p>

<p>Here is the code I am using to process the form data into Table1, I would like it to also process it into Table2 if that's possible.  I have already set up Table2 to have the same fieldnames as Table1.</p>

<pre><code>&lt;%
Dim adoCon          
Dim rsAddComments       
Dim strSQL          

Set adoCon = Server.CreateObject("ADODB.Connection")

adoCon.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &amp; Server.MapPath("database.mdb")

Set rsAddComments = Server.CreateObject("ADODB.Recordset")

strSQL = "SELECT Table1.Title, Table1.Details FROM Table1;"

rsAddComments.CursorType = 2

rsAddComments.LockType = 3

rsAddComments.Open strSQL, adoCon

rsAddComments.AddNew

rsAddComments.Fields("Title") = Request.Form("title")
rsAddComments.Fields("Details") = Request.Form("details")

rsAddComments.Update

rsAddComments.Close
Set rsAddComments = Nothing
Set adoCon = Nothing

Response.Redirect "success.html"
%&gt;
</code></pre>

<p>I really appreciate any help you can give but, and I don't mean to sound rude by my next statement, if all you are going to say is "that's not how you should use a database", "you don't know what you're doing" etc, please don't reply.</p>

<p>If its impossible, I will accept that, but if its not, even if its a bad way of doing things, please let me know how!</p>

<p>Many thanks</p>

<p>Ian</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/asp/62">ASP</category>
			<dc:creator>Pluribus</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/asp/threads/452411/update-multiples-tables-in-access-db-with-classic-asp</guid>
		</item>
			</channel>
</rss>