• 20Sep

    I believe that Internet Explorer is a joke by Microsoft. Alright, I don’t really believe that but it could be anyway :)

    Why can’t their programmers or software architects realize that they are still The Most Popular Internet Browser on our planet. In my opinion, the most important question is how can’t IE make possible things that making possible by others.

    The problem that I had faced to at last is just happend while I’m trying to use same session with subdomains. It’s not working on IE. The most strange thing in this case is that there is nothing to do with the browser to make it possible normally. It’s a server-side problem and here is solution:

    session_set_cookie_params(1200, null, ‘.domain.com’);

    Now, you can use same session on your subdomains except you’re working on IE. So, we need to detect Internet Browser to apply that wonderful feature.

    if (substr_count($_SERVER['HTTP_USER_AGENT'], ‘Firefox’) > 0)
    session_set_cookie_params(1200, null, ‘.domain.com’);

    Posted by Umut AYDIN @ 09:05

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.