WordPress – Godaddy server – Warning: session_start() failed: No such file or directory

in Godaddy hosting if you use session in wordpress  you may see .. the warning message..

Warning: session_start()… failed: No such file or directory.

in that case.. all you need to do is declare session path and show a folder name where session will be saved before start session .

ie.

session_save_path(‘document root path /html/tmp’);

– in this case.. tmp is the folder where session will be saved.
session_start();