SkullMaster Posted May 29, 2006 Share Posted May 29, 2006 I'm working on an upload site using cookies to track users but my cookies only seem to work when "www." is in the url. like...http://www.thekch.com works with the cookie and [a href=\"http://thekch.com\" target=\"_blank\"]http://thekch.com[/a] doesnt. There has to be an easy fix.Thanks in advance,KC Link to comment https://forums.phpfreaks.com/topic/10669-little-cookie-problem/ Share on other sites More sharing options...
ToonMariner Posted May 29, 2006 Share Posted May 29, 2006 what path have you set in cookie?try setting it to '/' Link to comment https://forums.phpfreaks.com/topic/10669-little-cookie-problem/#findComment-39819 Share on other sites More sharing options...
SkullMaster Posted May 29, 2006 Author Share Posted May 29, 2006 i didnt set a path, just a name and a value, so it defaulted to '/' and still doesnt work :( Link to comment https://forums.phpfreaks.com/topic/10669-little-cookie-problem/#findComment-40041 Share on other sites More sharing options...
redarrow Posted May 29, 2006 Share Posted May 29, 2006 [!--quoteo(post=378173:date=May 29 2006, 07:13 PM:name=SkullMaster)--][div class=\'quotetop\']QUOTE(SkullMaster @ May 29 2006, 07:13 PM) [snapback]378173[/snapback][/div][div class=\'quotemain\'][!--quotec--]i didnt set a path, just a name and a value, so it defaulted to '/' and still doesnt work :([/quote]what information are you trying to collect.why can you not use sessions.if cookies are used and the user got cookies set to off in there browser then there be no information to collect. Link to comment https://forums.phpfreaks.com/topic/10669-little-cookie-problem/#findComment-40044 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.