silverspecv
Programmer
Some users lose their cookie!
username: tek
password: tek
If the login is successful, it sets a cookie then forwards (not cflocation) to a page with some downloads. If the login failes or the cookie does not exist (such as if they bookmark the download page), the user will be forwarded back (cflocation) to the login page above. Very standard.
The problem is that on some users' machine, the login is successful, the cookie is set, they get forwarded to the download page. Since they are looking at the download page, I can deduce that the cookie has to exist at least briefly now, or else they would have been sent back to login. So it LOOKs like they are in, but if they refresh/reload the page, the cookie is gone, and they get forwarded back to logon.
The bug is on a per machine basis. Firefox seems to work fine on 100% of machines (surprise!), but IE fails on about 50% of machines (surprise!). And for the life of me, I cannot figure out what the difference is. I opened the internet options screen on 2 machines and compared them side by side. 2000 pro and 2000 server, and they are freaking identical down to every last checkbox, radio button, and IE version. The only difference is one works and one doesn't. I also tried it on xp pro, and it worked, but 98 se does not (or at least did not, I only tried one of each machine).
I have a cfheader-p3p statement in the application.cfm, and I'm simply using <cfcookie name="member" value="#login.id#"> to set the cookie. I have tried variations on the domain/path attributes, etc, to no avail. You may also notice that the page is actually a frameset which loads the content from another server. This is becomes the host site is static, and obviously coldfusion is not, so I use a different server but make it look seamless. This doesn't seem to make a difference, since I can go directly to and the results are identical.
Anyway, I'm about ready to tear my hair out over this, so any help is greatly appreciated.
username: tek
password: tek
If the login is successful, it sets a cookie then forwards (not cflocation) to a page with some downloads. If the login failes or the cookie does not exist (such as if they bookmark the download page), the user will be forwarded back (cflocation) to the login page above. Very standard.
The problem is that on some users' machine, the login is successful, the cookie is set, they get forwarded to the download page. Since they are looking at the download page, I can deduce that the cookie has to exist at least briefly now, or else they would have been sent back to login. So it LOOKs like they are in, but if they refresh/reload the page, the cookie is gone, and they get forwarded back to logon.
The bug is on a per machine basis. Firefox seems to work fine on 100% of machines (surprise!), but IE fails on about 50% of machines (surprise!). And for the life of me, I cannot figure out what the difference is. I opened the internet options screen on 2 machines and compared them side by side. 2000 pro and 2000 server, and they are freaking identical down to every last checkbox, radio button, and IE version. The only difference is one works and one doesn't. I also tried it on xp pro, and it worked, but 98 se does not (or at least did not, I only tried one of each machine).
I have a cfheader-p3p statement in the application.cfm, and I'm simply using <cfcookie name="member" value="#login.id#"> to set the cookie. I have tried variations on the domain/path attributes, etc, to no avail. You may also notice that the page is actually a frameset which loads the content from another server. This is becomes the host site is static, and obviously coldfusion is not, so I use a different server but make it look seamless. This doesn't seem to make a difference, since I can go directly to and the results are identical.
Anyway, I'm about ready to tear my hair out over this, so any help is greatly appreciated.