| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		eyal067 -
 
  Joined: 22 Mar 2003 Posts: 10
 
  | 
		
			
				 Posted: Sun Jun 29, 2003 5:30 pm    Post subject: Problem in cookie and dns | 
				      | 
			 
			
				
  | 
			 
			
				If I do DNS short to server then the cookie do not work in my website
 
why?
 
What to do? | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		aprelium -
 
  Joined: 22 Mar 2002 Posts: 6800
 
  | 
		
			
				 Posted: Sun Jun 29, 2003 8:23 pm    Post subject: Re: Problem in cookie and dns | 
				      | 
			 
			
				
  | 
			 
			
				 	  | eyal067 wrote: | 	 		  If I do DNS short to server then the cookie do not work in my website
 
why?
 
What to do? | 	  
 
When you declare a cookie, you should also declare the DNS name where it is valid. So check the parameters of Set-Cookies header. _________________ Support Team
 
Aprelium - http://www.aprelium.com | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		eyal067 -
 
  Joined: 22 Mar 2003 Posts: 10
 
  | 
		
			
				 Posted: Sun Jun 29, 2003 8:46 pm    Post subject: Re: Problem in cookie and dns | 
				      | 
			 
			
				
  | 
			 
			
				 	  | aprelium wrote: | 	 		  
 
When you declare a cookie, you should also declare the DNS name where it is valid. So check the parameters of Set-Cookies header. | 	  
 
 
 
i check the parameters of Set-Cookies
 
and i erased cookie and I did her newly the way short dns and it still does not work
 
 
Like that I did in the file php.ini:
 
; The path for which the cookie is valid.
 
session.cookie_path = /
 
 
; The domain for which the cookie is valid.
 
session.cookie_domain = dfsdfyt.spyw.com
 
_________________________________________
 
 
And in the page http://dfsdfyt.spyw.com /test/index.php the cookie does not support
 
 
What to do? | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		aprelium -
 
  Joined: 22 Mar 2002 Posts: 6800
 
  | 
		
			
				 Posted: Thu Jul 03, 2003 12:29 pm    Post subject: Re: Problem in cookie and dns | 
				      | 
			 
			
				
  | 
			 
			
				Your problem is a PHP coding problem. We gave you a hint but no more general advice can be given. If you still have problems, try posting the php code causing the problem. _________________ Support Team
 
Aprelium - http://www.aprelium.com | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		 |