Execution Problem

php India
  • 14 years ago
    this was working in firefox, some IE's.

    setcookie('cookTest','testCook',time()+10000);

    but for some IE's its not working.
    values was not setted.
    please give the reason.









  • 14 years ago
    There could be a number of reasons why it did not work, but the most likely (I think) is that the version of IE you used had accepting cookies turned off. Without more information about which version work and which do not it becomes harder to say anymore than that.

  • 14 years ago
    Thankyou akicks.
    Here i am getting the problem with version.
    After changing the time to server time i am getting the correct answer.(Its one solution)





Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.” - Donald Knuth