Session is not working everytime,but when i restart my machine everthing works fine .Why this happens?

Define "not working everytime". Browser caching? Session functions all in the right place? Local or remote server?

Hi,
Try check if it is added session_start() att the beginning of the script you run.
Maybe this function is missing where you noticed session not working.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.