Hello all,
session level cookie in IE8 is not happening, any help in this regard is much appriciated.
the following code works good in FF. But in IE it fails giving a higher life time makes it work in IE. But i need a session cookie
setcookie('name', 'value', 0, '/', 'mydomain.com');
Thanks
Varma
session cookie in Internet Explorer.
Moderator: General Moderators
-
informvarma
- Forum Newbie
- Posts: 3
- Joined: Thu Jul 10, 2008 1:32 am
Re: session cookie in Internet Explorer.
using $_SESSIONS takes care of it's own cookie, so you don't need to set your own.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
-
informvarma
- Forum Newbie
- Posts: 3
- Joined: Thu Jul 10, 2008 1:32 am
Re: session cookie in Internet Explorer.
pickle: I do not want to start a session, I just need a cookie that would be alive till the user closes the browser. Anyway the issue is resolved.
Looks like IE session cookies has problems with domain name having `-`, removed that and all is fine.
Looks like IE session cookies has problems with domain name having `-`, removed that and all is fine.