ODBiC Discussion Board


setcookie

by sam, July 25, 2005 05:32

IF I have any other java script being executed besides setcookie, would that prevent setcookie from being set???? I cannot set cookie. My user and password variable is input boxes. I just want to set the variables. But it seems to be not working..

Here is what I have

<html>
<head>
<%SETCOOKIE user = $user$ %>
<%SETCOOKIE password= $password$ %>
 <script>
<!--
function land(ref, target)

lowtarget=target.toLowerCase(); if (lowtarget=="_self") {window.location=loc;} else {if (lowtarget=="_top") {top.location=loc;} else {if (lowtarget=="_blank") {window.open(loc);} else {if (lowtarget=="_parent") {parent.location=loc;} else {parent.frames[target].location=loc;}; }}}

function jump(menu)

ref=menu.choice.options[menu.choice.selectedIndex].value; splitc=ref.lastIndexOf("*"); target=""; if (splitc!=-1) {loc=ref.substring(0,splitc); target=ref.substring(splitc+1,1000);} else {loc=ref; target="_self";}; if (ref != "") {land(loc,target);}

//--> </script></head>



Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 

          


Copyright ©1997-2003, Roger Harris. All rights reserved.