Cannot login or logout
							
								
							
							
							
							
						
					
					
						Hi, I moved my forum to another hosting (from shared hosting to VPS) now I cannot login or logout. There is a message "
Session verification failed. Please try logging out and back in again, and then try again."
Any suggestions?
Edit:
I cannot access the admin page because of the same error.
						
						
					
				
				
						
						
							Re: Cannot login or logout
							
								
							
							
								Reply #4 – 
							
							
						
					
					
						Cookies. Find it in Admin CP > Configuration > Server Settings > Cookies & Sessions. Change cookies name there. Below is database driven session. Tick to enable.
						
						
					
				
				
						
						
							Re: Cannot login or logout
							
								
							
							
								Reply #12 – 
							
							
						
					
					
						I've used nginx (good choice) on several sites and not had any session errors due to something it was doing. 
You should check your nginx access log for the site as well as the php error log to see if an error is being generated.  Most issues with Nginx tend to be with permissions.
As already said, if you are using APC make sure you set the cache engine to '' as a test.  We had a problem with APC and sessions but that should be fixed (and if you are using php 5.5+ you should not be using APC as the op-cache anyway)
						
						
					
				
				
						
						
							Re: Cannot login or logout
							
								
							
							
								Reply #13 – 
							
							
						
					
					
						Thanks for the instruction Spuds!  I already disabled caching by modifying settings.php but it still won't work. I will focus to fix this problem first.