> how can i check in the page if the user is accessing the the site via SSL ?? > or i have to put a redirect in the page anyway, whether the user is > alredy accessing the page via SSL? if it has to be https, why not just use mod_rewrite to make sure it is. With php you could check $_SERVER['SERVER_PORT'] or $_SERVER['HTTPS'] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php