When I was trying to find out if you could pass variables from javascript to PHP in the past, I came to the conclusion that you can't based on what other people were saying. You can create cookies with javascript then read them with PHP. Are there any major downsides to doing this (besides the fact that not everyone enables cookies)?