<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SysBlog &#187; ASP</title>
	<atom:link href="http://blog.interakt.hr/?cat=7&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://blog.interakt.hr</link>
	<description>...mic po mic...</description>
	<lastBuildDate>Tue, 24 Mar 2026 11:53:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>ASP: web config http to https redirection</title>
		<link>https://blog.interakt.hr/?p=857</link>
		<comments>https://blog.interakt.hr/?p=857#comments</comments>
		<pubDate>Thu, 10 Jun 2021 07:03:30 +0000</pubDate>
		<dc:creator>SysBlog</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[Razno]]></category>

		<guid isPermaLink="false">http://blog.interakt.hr/?p=857</guid>
		<description><![CDATA[source: https://stackoverflow.com/questions/9823010/how-to-force-https-using-a-web-config-file]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">

                &lt;clear /&gt;
                &lt;rule name=&quot;Redirect to https&quot; stopProcessing=&quot;true&quot;&gt;
                    &lt;match url=&quot;.*&quot; /&gt;
                    &lt;conditions&gt;
                        &lt;add input=&quot;{HTTPS}&quot; pattern=&quot;off&quot; ignoreCase=&quot;true&quot; /&gt;
                    &lt;/conditions&gt;
                    &lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}{REQUEST_URI}&quot; redirectType=&quot;Permanent&quot; appendQueryString=&quot;false&quot; /&gt;
                &lt;/rule&gt;
</pre>
<p>source: https://stackoverflow.com/questions/9823010/how-to-force-https-using-a-web-config-file</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.interakt.hr/?feed=rss2&#038;p=857</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP: web.config redirect to another domain with no rules &#8211; v2</title>
		<link>https://blog.interakt.hr/?p=811</link>
		<comments>https://blog.interakt.hr/?p=811#comments</comments>
		<pubDate>Tue, 17 Mar 2020 07:18:58 +0000</pubDate>
		<dc:creator>SysBlog</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://systasis.biz/blog/?p=811</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">

&lt;rewrite&gt;
  &lt;rules&gt;
    &lt;rule name=&quot;redirect&quot; enabled=&quot;true&quot;&gt;
      &lt;match url=&quot;(.*)&quot; /&gt;
      &lt;action type=&quot;Redirect&quot; url=&quot;http://www.example.com/&quot; appendQueryString=&quot;true&quot; redirectType=&quot;Permanent&quot; /&gt;
    &lt;/rule&gt;
  &lt;/rules&gt;
&lt;/rewrite&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>https://blog.interakt.hr/?feed=rss2&#038;p=811</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP: web.config redirect</title>
		<link>https://blog.interakt.hr/?p=790</link>
		<comments>https://blog.interakt.hr/?p=790#comments</comments>
		<pubDate>Thu, 31 Oct 2019 10:53:18 +0000</pubDate>
		<dc:creator>SysBlog</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[Razno]]></category>

		<guid isPermaLink="false">http://systasis.biz/blog/?p=790</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">

&lt;system.webServer&gt;

&lt;httpRedirect enabled=&quot;true&quot; destination=&quot;http://www.google.com/&quot; /&gt;

&lt;/system.webServer&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>https://blog.interakt.hr/?feed=rss2&#038;p=790</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classic ASP &#8211; Getting ID of new record after insert</title>
		<link>https://blog.interakt.hr/?p=778</link>
		<comments>https://blog.interakt.hr/?p=778#comments</comments>
		<pubDate>Fri, 04 Oct 2019 12:45:32 +0000</pubDate>
		<dc:creator>SysBlog</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://systasis.biz/blog/?p=778</guid>
		<description><![CDATA[The SET NOCOUNT ON suppresses messages like &#8220;1 Row(s) affected&#8221; being sent back. These messages are sent back every time SQL statement is executed. source: http://www.kamath.com/tutorials/tut007_identity.asp]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">

Dim loConn, lsSQL, loRs
Set loConn = CreateObject(&quot;ADODB.Connection&quot;)

' Open a connection to the database
loConn.Open(application(&quot;DSN=myDSN;UID=something;PWD=Something;&quot;))

' Insert a new record into the table
lsSQL = &quot;SET NOCOUNT ON;&quot; &amp;_
        &quot;INSERT INTO tbl_test (naziv) VALUES ('pero');&quot; &amp;_
        &quot;SELECT @@IDENTITY AS NewID;&quot;

' Execute the SQL statement
Set loRs = loConn.Execute(lsSQL)

' Get the inserted ID
myNewID= loRs.Fields(&quot;NewID&quot;).value

response.write myNewID

' Close the connection
loConn.Close()
Set loConn = Nothing
</pre>
<p>The SET NOCOUNT ON suppresses messages like &#8220;1 Row(s) affected&#8221; being sent back. These messages are sent back every time SQL statement is executed.</p>
<p>source: http://www.kamath.com/tutorials/tut007_identity.asp</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.interakt.hr/?feed=rss2&#038;p=778</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classic ASP &#8211; URLDecode</title>
		<link>https://blog.interakt.hr/?p=770</link>
		<comments>https://blog.interakt.hr/?p=770#comments</comments>
		<pubDate>Wed, 25 Sep 2019 12:13:21 +0000</pubDate>
		<dc:creator>SysBlog</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://systasis.biz/blog/?p=770</guid>
		<description><![CDATA[&#160; source: https://gist.github.com/gwobcke/2773779]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">FUNCTION URLDecode(str)
'// This function:
'// - decodes any utf-8 encoded characters into unicode characters eg. (%C3%A5 = å)
'// - replaces any plus sign separators with a space character
'//
'// IMPORTANT:
'// Your webpage must use the UTF-8 character set. Easiest method is to use this META tag:
'//
'//
Dim objScript
Set objScript = Server.CreateObject(&quot;ScriptControl&quot;)
objScript.Language = &quot;JavaScript&quot;
URLDecode = objScript.Eval(&quot;decodeURIComponent(&quot;&quot;&quot; &amp;amp; str &amp;amp; &quot;&quot;&quot;.replace(/\+/g,&quot;&quot; &quot;&quot;))&quot;)
Set objScript = NOTHING
END FUNCTION</pre>
<p>&nbsp;</p>
<p>source: https://gist.github.com/gwobcke/2773779</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.interakt.hr/?feed=rss2&#038;p=770</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classic ASP  &#8211; Strip HTML Function</title>
		<link>https://blog.interakt.hr/?p=752</link>
		<comments>https://blog.interakt.hr/?p=752#comments</comments>
		<pubDate>Mon, 09 Sep 2019 07:30:46 +0000</pubDate>
		<dc:creator>SysBlog</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://systasis.biz/blog/?p=752</guid>
		<description><![CDATA[source: https://gist.github.com/gwobcke/1027133]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">

&lt;%
FUNCTION stripHTML(strHTML)
  Dim objRegExp, strOutput, tempStr
  Set objRegExp = New Regexp
  objRegExp.IgnoreCase = True
  objRegExp.Global = True
  objRegExp.Pattern = &quot;&lt;(.|n)+?&gt;&quot;
  'Replace all HTML tag matches with the empty string
  strOutput = objRegExp.Replace(strHTML, &quot;&quot;)
  'Replace all &lt; and &gt; with &amp;lt; and &amp;gt;
  strOutput = Replace(strOutput, &quot;&lt;&quot;, &quot;&amp;lt;&quot;)
  strOutput = Replace(strOutput, &quot;&gt;&quot;, &quot;&amp;gt;&quot;)
  stripHTML = strOutput    'Return the value of strOutput
  Set objRegExp = Nothing
END FUNCTION
%&gt;
</pre>
<p>source: https://gist.github.com/gwobcke/1027133</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.interakt.hr/?feed=rss2&#038;p=752</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classic ASP &#8211; Strip Special Character Function</title>
		<link>https://blog.interakt.hr/?p=749</link>
		<comments>https://blog.interakt.hr/?p=749#comments</comments>
		<pubDate>Mon, 09 Sep 2019 07:27:16 +0000</pubDate>
		<dc:creator>SysBlog</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://systasis.biz/blog/?p=749</guid>
		<description><![CDATA[source: https://gist.github.com/gwobcke/1027138/revisions]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">

&lt;%
Function StripSpecialChar(strInput)
	Dim objRegExp
	Set objRegExp = New Regexp
	objRegExp.IgnoreCase = True
	objRegExp.Global = True
	objRegExp.Pattern = &quot;[\+\#\@\&amp;\%\$\?\*]&quot;
	'//Replace all character matches with an Empty String
	StripSpecialChar = objRegExp.Replace(strInput, &quot;&quot;)
	Set objRegExp = Nothing
End Function
%&gt;
</pre>
<p>source: https://gist.github.com/gwobcke/1027138/revisions</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.interakt.hr/?feed=rss2&#038;p=749</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classic ASP &#8211; IN ARRAY</title>
		<link>https://blog.interakt.hr/?p=745</link>
		<comments>https://blog.interakt.hr/?p=745#comments</comments>
		<pubDate>Sun, 08 Sep 2019 17:06:06 +0000</pubDate>
		<dc:creator>SysBlog</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://systasis.biz/blog/?p=745</guid>
		<description><![CDATA[SOURCE: https://gist.github.com/gwobcke/1044367]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">
Function InArray(Needle, Haystack)
    Dim i, x
    InArray = False

    For i = 0 To Ubound(Haystack)
        If IsArray(Needle) = True Then
            For x = 0 To Ubound(Needle)
                If Trim(Haystack(i)) = Trim(Needle(x)) Then
                    InArray = True
                    Exit Function
                End If
            Next
        Else
            If Trim(Haystack(i)) = Trim(Needle) Then
                InArray = True
                Exit Function
            End If
        End If
    Next
End Function
</pre>
<p>SOURCE: https://gist.github.com/gwobcke/1044367</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.interakt.hr/?feed=rss2&#038;p=745</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP &#8211; ArrayList</title>
		<link>https://blog.interakt.hr/?p=742</link>
		<comments>https://blog.interakt.hr/?p=742#comments</comments>
		<pubDate>Sun, 08 Sep 2019 14:52:31 +0000</pubDate>
		<dc:creator>SysBlog</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://systasis.biz/blog/?p=742</guid>
		<description><![CDATA[source: https://stackoverflow.com/questions/13585660/lists-in-vbscript]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">Option Explicit

dim list
Set list = CreateObject(&quot;System.Collections.ArrayList&quot;)
list.Add &quot;Banana&quot;
list.Add &quot;Apple&quot;
list.Add &quot;Pear&quot;

'list.Sort
'list.Reverse

response.write list.Count                 ' --&gt; 3
response.write list.Item(0)               ' --&gt; Pear
response.write list.IndexOf(&quot;Apple&quot;, 0)   ' --&gt; 2
response.write join(list.ToArray(), &quot;, &quot;) ' --&gt; Pear, Banana, Apple
</pre>
<p>source: https://stackoverflow.com/questions/13585660/lists-in-vbscript</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.interakt.hr/?feed=rss2&#038;p=742</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP &#8211; dynamic variable i execute</title>
		<link>https://blog.interakt.hr/?p=488</link>
		<comments>https://blog.interakt.hr/?p=488#comments</comments>
		<pubDate>Wed, 14 Sep 2016 11:01:03 +0000</pubDate>
		<dc:creator>SysBlog</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://systasis.biz/blog/?p=488</guid>
		<description><![CDATA[Problem: imamo varijable slika_1, slika_2, slika_3, slika_4 i slika_5 i želimo ispisati svih 5 slika koristeći for petlju Rješenje:]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> imamo varijable slika_1, slika_2, slika_3, slika_4 i slika_5 i želimo ispisati svih 5 slika koristeći for petlju</p>
<p><strong>Rješenje:</strong></p>
<pre class="brush: plain; title: ; notranslate">for i=1 to 5

execute(&quot;slika = slika_&quot; &amp; i)

response.write(slika)

next  </pre>
]]></content:encoded>
			<wfw:commentRss>https://blog.interakt.hr/?feed=rss2&#038;p=488</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
