0

my login script working fine in my localhost. but when i hosted the site my session is not working.i have written session_start(); in my script i dont undertand y? weather all the php sites supports session.

3
Contributors
5
Replies
6
Views
11 Years
Discussion Span
Last Post by aarya
0

Your going to have to give more detail but I dont think sessions are dependant on the php version or operating system.

0

my login script working fine in my localhost. but when i hosted the site my session is not working.i have written session_start(); in my script i dont undertand y? weather all the php sites supports session.

createa php file with the following code:

phpinfo();

View the page in a browser.
The function phpinfo() will display the current php settings on the server the file is hosted on.

Search for sessions, if session support is enabled, then it should be all good. Also check your php version, and other info and post it here so that help will be easier :)

0

yes i have tried using phpinfo(); in my pc it is working. but when i hosted the code and check in my browser it gives blank page.
it wont display any details

0

yes all my php code working only phpinfo(); is not working
i ahve tested in my other site is working and sessions are also working on my other site

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.