Is there a way to make a cookie avalable to both types of writing the URL.... example http://www.mysite.com OR http://mysite.com
I am not sure, you could check for 'www' in a global include file and header refresh to www.yourdomain if it doesn't exist.
You can carry any url variables by taking the ?QUERY_STRING along with your request.