<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2722.900" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Please show us how you are calling the 
function...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>~ Terry<BR>757 581-5981<BR>AIM/Yahoo: 
lv2bounce</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=MPodlesny@acsisinc.com href="mailto:MPodlesny@acsisinc.com">Podlesny, 
  Michael</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu 
  href="mailto:'javascript@LaTech.edu'">'javascript@LaTech.edu'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, November 25, 2002 12:52 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] ughh HELP WITH 
  COOKIES PLEASE!!!!</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=522445017-25112002><FONT face=Arial size=2>ughh HELP WITH 
  COOKIES PLEASE!!!!</FONT></SPAN></DIV>
  <DIV><SPAN class=522445017-25112002><FONT face=Arial size=2>The code below 
  only saves my cookie for the page in which it is set.&nbsp; Does anyone have 
  any ideas as to why my cookie is deleted when I access the another page on my 
  sitter?</FONT></SPAN></DIV>
  <DIV><SPAN class=522445017-25112002><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=522445017-25112002><FONT face=Arial color=#0000ff size=2>here 
  is the code</DIV>
  <DIV><BR></DIV></FONT></SPAN>
  <DIV><FONT face=Arial color=#0000ff size=2>function set_cookie(name, value, 
  expires, path, domain, secure) {<BR>&nbsp; var curCookie = name + "=" + 
  escape(value) +<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((expires) ? "; expires=" + 
  expires.toGMTString() : "") +<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((path) ? "; 
  path=" +<SPAN class=522445017-25112002>&nbsp;path&nbsp;</SPAN>: "") 
  +<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((domain) ? "; domain=" + domain : "") 
  +<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((secure) ? "; secure" : "");<BR>&nbsp; 
  document.cookie = curCookie;<BR>}</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2>// name - name of the 
  desired cookie<BR>// * return string containing value of specified cookie or 
  null if cookie does not exist<BR>function get_cookie(name) {<BR>&nbsp; var dc 
  = document.cookie;<BR>&nbsp; var prefix = name + "=";<BR>&nbsp; var begin = 
  dc.indexOf("; " + prefix);<BR>&nbsp; if (begin == -1) {<BR>&nbsp;&nbsp;&nbsp; 
  begin = dc.indexOf(prefix);<BR>&nbsp;&nbsp;&nbsp; if (begin != 0) return 
  null;<BR>&nbsp; } else<BR>&nbsp;&nbsp;&nbsp; begin += 2;<BR>&nbsp; var end = 
  document.cookie.indexOf(";", begin);<BR>&nbsp; if (end == 
  -1)<BR>&nbsp;&nbsp;&nbsp; end = dc.length;<BR>&nbsp; return 
  unescape(dc.substring(begin + prefix.length, end));<BR>}<BR><SPAN 
  class=522445017-25112002></SPAN></FONT></FONT></FONT></DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
  class=522445017-25112002></SPAN></FONT></FONT></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>