<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Auto Logon on Web Page]]></title><description><![CDATA[<p dir="auto">How can i pass variable to autologon on the web page ?</p>
]]></description><link>http://localhost:4567/topic/101/auto-logon-on-web-page</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 08:34:10 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/101.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Sep 2009 11:42:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Auto Logon on Web Page on Thu, 10 Sep 2009 13:01:28 GMT]]></title><description><![CDATA[<p dir="auto">Ok, I have just added the option. It will be available on the next release, you will be able to pass the "exten" and "pass" parameters to override the initial login box. If the passed values are wrong, you will be presented with the login screen, if they are ok you go right in.</p>
<p dir="auto">If you are anxious to try it out together with other new features I can email you a copy for you to test..</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/491</link><guid isPermaLink="true">http://localhost:4567/post/491</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 10 Sep 2009 13:01:28 GMT</pubDate></item><item><title><![CDATA[Reply to Auto Logon on Web Page on Thu, 10 Sep 2009 12:29:00 GMT]]></title><description><![CDATA[<p dir="auto">You can't</p>
]]></description><link>http://localhost:4567/post/490</link><guid isPermaLink="true">http://localhost:4567/post/490</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 10 Sep 2009 12:29:00 GMT</pubDate></item><item><title><![CDATA[Reply to Auto Logon on Web Page on Thu, 10 Sep 2009 12:24:28 GMT]]></title><description><![CDATA[<p dir="auto">Not bad but how can i hide completly the login box ?</p>
]]></description><link>http://localhost:4567/post/489</link><guid isPermaLink="true">http://localhost:4567/post/489</guid><dc:creator><![CDATA[erwand]]></dc:creator><pubDate>Thu, 10 Sep 2009 12:24:28 GMT</pubDate></item><item><title><![CDATA[Reply to Auto Logon on Web Page on Thu, 10 Sep 2009 12:10:19 GMT]]></title><description><![CDATA[<p dir="auto">Not the most elegant way, but you can try by adding the following code at the very end of secbox.html</p>
<pre><code>&lt;script&gt;

function getQueryParameter(param) {
    var myreturn = "";
    var strHref = window.location.href;
    if ( strHref.indexOf("?") &gt; -1 ){
        pos = strHref.indexOf("?") + 1;
        var strQueryString = strHref.substr(pos).toLowerCase();
        var queryObj = toObject(strQueryString);
        myreturn = queryObj[param];
    };
    if(myreturn === undefined) {
        myreturn="";
    };
    return myreturn;
};

var exten=getQueryParameter("exten");
var pass=getQueryParameter("pass");

$('exten').value=exten;
$('myextension').value=exten;
$('secucode').value=pass;
$('securitycode').value=pass;
Modalbox.hide();
&lt;/script&gt;
</code></pre>
<p dir="auto">It will get the exten and pass parameters from the url.</p>
<p dir="auto">If you pass the wrong credentials it will enter a nasty loop, so you better check before passing wront parameters.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/488</link><guid isPermaLink="true">http://localhost:4567/post/488</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 10 Sep 2009 12:10:19 GMT</pubDate></item></channel></rss>