lexmark Posted August 2, 2004 Report Share Posted August 2, 2004 Qual é o comando para salvar o cookie pra sempre??? Se não tiver como salvar pra sempre (eu acho que tem) podia ser mesmo pra salvar o máximo que dá!! Quote Link to comment Share on other sites More sharing options...
0 Fabyo Posted August 2, 2004 Report Share Posted August 2, 2004 1 ano não tabom ?setcookie("nome", "fabyo", time()-3600*24*365); Quote Link to comment Share on other sites More sharing options...
0 lexmark Posted August 2, 2004 Author Report Share Posted August 2, 2004 1 ano é o maximo? Quote Link to comment Share on other sites More sharing options...
0 Fabyo Posted August 2, 2004 Report Share Posted August 2, 2004 não,, é só você calcular o tempohttp://br.php.net/manual/pt_BR/function.setcookie.php Quote Link to comment Share on other sites More sharing options...
0 lexmark Posted August 2, 2004 Author Report Share Posted August 2, 2004 tipo eu coloquei: time()+60*60*24*730funciona??? com meus calculos da 2 anos!!! funciona??? Quote Link to comment Share on other sites More sharing options...
0 lexmark Posted August 2, 2004 Author Report Share Posted August 2, 2004 SetCookie("hasOCX", "9,02,0310,2401");e esse funciona??? quanto tempo esse dura? Quote Link to comment Share on other sites More sharing options...
0 Fabyo Posted August 2, 2004 Report Share Posted August 2, 2004 Cara não tem como você testar seus scripts ai ?qualquer duvida pergunte, mas teste primeiro pra ver depois se der erro você passa o erro que ta dando dai a gente vepra você que ta com dificuldades com cookies baixa esse programa que dai você consegue entender ver melhor os cookieshttp://superdownloads.ubbi.com.br/download/i22694.html Quote Link to comment Share on other sites More sharing options...
Question
lexmark
Qual é o comando para salvar o cookie pra sempre??? Se não tiver como salvar pra sempre (eu acho que tem) podia ser mesmo pra salvar o máximo que dá!!
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.