Thanks for the reply,
It had something to do with session save path. I forgot to change it in the configuration file. And it was php4st.dll not php4nt.dll, which returns the error.
I changed the path and it is working perfecly now.
Thanks again
Pegah Parvaz