Log out: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
<p>Return to <a id="redirectUrl" href="/wiki/Main_Page">Main Page</a></p> | <p>Return to <a id="redirectUrl" href="/wiki/Main_Page">Main Page</a></p> | ||
</div> | </div> | ||
<?php | |||
function myphpfunction(){ | |||
setcookie("remoteUserEmail",'', time()-3600, "/", "damtoolbox.org", 1, 1); | |||
} | |||
?> | |||
<script> | <script> | ||
Line 54: | Line 63: | ||
// myDate.setDate(myDate.getDate()-1); | // myDate.setDate(myDate.getDate()-1); | ||
// document.cookie = cookieName +"=" + cookieValue + ";expires=" + myDate + ";domain=damtoolbox.org;path=/"; | // document.cookie = cookieName +"=" + cookieValue + ";expires=" + myDate + ";domain=damtoolbox.org;path=/"; | ||
document.write("<?php | document.write("<?php myphpfunction() ?>"); | ||