|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Cookie Problem with IIS/PHP
I'm having a strange problem.
I have a php site with a login. The login works fine on the machine with IIS running and edits a mysql db like it should as well as setting the cookie. However when i try and login from another machine the cookie doesn't set. It manages the login confirmation and the db edit but no cookie. I can't figure out why it will work on the server but not on a remote browser. I've tried a few machines. The odd thing is that i have the same php code on 2 other servers and they both work fine when remote browsers login. It's only this 3rd server thats not working (and as usual the one i need it on). I don't think it's php for this reason but instead something onthe server either permissions based or IIS thats stopping it giving out a cookie. Unfortunatly it's way above my head what to do to solve it. I've uninstalled and removed IIS, SQL, php and reinstalled them with no success either. I was thinking maybe NTFS as the HDD security settings are very messy atm. But before i format and start over i thought i'd look around and see if theirs anything i've missed. cookie request is just a simple one like the one below. Server is only running winxp pro too. setcookie("uname", $name, time()+36000); |
|
#2
|
|||
|
|||
|
I don't use PHP with IIS. I don't know why cookies would have a problem.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
ahh well
guess it's just one of those odd problems I'll just start over. Thanks |
|
#4
|
|||
|
|||
|
You might look around on the php website, or ask in the php section of these forums. There are a lot of php/windows users here.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Cookie Problem with IIS/PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|