Pour mémoriser mon cookie,
j'tulise la fct JVS ecrirecookie,
est ce que je peux l'utiliser dans <FORM </FORM ou bien dois-je passer par une page spéciale pour mémoriser le cookie ?
voici mon code
Merci
Pilule
<FORM NAME="identifiant" ACTION="identificationsuite.php" METHOD="GET" >
<TD align="center" width='500'>
<p align="center"><FONT COLOR="#FFFFFF"><B>Entre ton identifiant:</B></FONT><BR><BR>
<INPUT TYPE="text" NAME="id"><BR><BR></p>
<TR>
<TD align="center">
<p align="center"><FONT COLOR="#FFFFFF"><B>Entre ton mot de passe : </B></FONT><BR><BR>
<INPUT TYPE="password" NAME="password"><BR><BR>
<TR>
<TD align="center" height='80'>
<INPUT TYPE="submit" VALUE="Connection">
<SCRIPT language=javascript>
date=new Date;
date.setMonth(date.getMonth()+6);
EcrireCookie("nomdepasse",id);
</script>
</p>
</FORM>