ArubaOS and Controllers

Occasional Contributor II

error on custom welcome page

The user authenticates just fine, but I get this javascript error: cookieval.length is null or not an object. The code is exactly the same as it is in the user guide.

Does anyone know what the code is for the /auth/welcome.html page? There is no javascript on there so I can't compare it to our page. The default welcome page "/auth/welcome.html" works fine.

function readCookie(name)
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++)
var c = ca;
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
return null;
var cookieval = readCookie('url');
if (cookieval.length>0) document.write("<meta http-equiv="\"refresh\"" content="\"2;url=http://"+cookieval+"\""+"" />");

Occasional Contributor I

Re: error on custom welcome page

I'm having the same issue...made changes to the welcome page broke Java.
Search Airheads
Showing results for 
Search instead for 
Did you mean: