Possible Duplicate:
How to fix the session_register() DEPRECATED problem?
I recently moved switched hosts for a site. The site works fine on front end but when I try to login I receieve the following error
Deprecated: Function session_register() is deprecated in /home/content/69/9301569/html/cls.userlogin.php on line 31
Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at /home/content/69/9301569/html/cls.userlogin.php:31) in /home/content/69/9301569/html/cls.userlogin.php on line 31
Warning: session_register() [function.session-register]: Cannot send session cache limiter - headers already sent (output started at /home/content/69/9301569/html/cls.userlogin.php:31) in /home/content/69/9301569/html/cls.userlogin.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /home/content/69/9301569/html/cls.userlogin.php:31) in /home/content/69/9301569/html/form-login.php on line 14
I didn't build the site; just moved it, So I am quite lost. How would I correct this error?