Welcome to WebmasterWorld Guest from 54.80.8.44
Forum Moderators: phranque
<HTML>
<HEAD>
<TITLE>
cookie
</TITLE>
<script language="JavaScript">
<!--
// ### This function stops stray error messages ###
function stoperror(){
return true
}
window.onerror=stoperror
// ### *IF* the browser is IFRAMES capable, we can refresh ###
// ### JUST the IFRAME if the visitor leaves the page and ###
// ### later returns to it in the same session. ###
function checkIFRAMEcapable() {
if (navigator.appName == "Microsoft Internet Explorer") {
doCookieReload();
}
}
function doCookieReload() {
if (document.cookiesamp.cookienumbr.value > 0) {
window.location.reload(true);
}
if (-document.cookie.length < -4) {
var prevcookie = document.cookie.substring(4,document.cookie.length);
}
else {
var prevcookie = 0;
}
document.cookiesamp.cookienumbr.value = prevcookie;
var stepcookie = parseInt(prevcookie);
var ck = stepcookie + 1;
document.cookie = "num=" + ck;
}
// -->
</script>
</HEAD>
<BODY
onLoad="checkIFRAMEcapable();"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#800080">
<BASE TARGET="_top">
<CENTER>
<TABLE WIDTH=600 BORDER=0 CELLPADDING=2 CELLSPACING=0>
<TR>
<TD ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFFFFF">
banner SSI call here.
</TD>
</TR></TABLE>
</CENTER>
<BR><BR><BR>
<!-- FORM TAG IS REQUIRED FOR COOKIE RELOAD -->
<FORM NAME="cookiesamp">
<INPUT NAME="cookienumbr" SIZE=1>
</FORM>
</BODY>
</HTML>
added:
After re-reading the Webtrends part of your request, I doubt this will work. But I'll leave it up anyway.
Do I understand that you just want to build a separate standard web server log file and then run Webtrends over it? (You'd do the log file managment)
Or is there some other format specific to Webtrends for cookies that you want?