Sessions working/not

Sessions working/not

am 07.02.2007 18:43:34 von Swincher

Hey - -- -

Would anyone be so kind as to un-stick my brain?

I can't get sessions to work on my development machine (localhost).
They work fine on my testing server (an internal IP). Development:
W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2.

The php.ini SESSION settings are the same on both machines.

Seems to me I made this choice at some point, but now my feeble brain
can't bring it up.


"Anyone? Anyone?"


Ken

(Sorry for cross-posting --- not sure of etiquette here. Please
inform if necessary.)

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: Sessions working/not

am 07.02.2007 19:00:06 von Bill Bolte

Doesn't it haven't something to do with the permissions on the PHP
folder? ISTR that the PHP folder needed write permissions or something
like that...

-----Original Message-----
From: Ken Kixmoeller -- reply to ken@kixmoeller.com
[mailto:Kixjaguar@comcast.net]=20
Sent: Wednesday, February 07, 2007 11:44 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Sessions working/not

Hey - -- -

Would anyone be so kind as to un-stick my brain?

I can't get sessions to work on my development machine (localhost). =20
They work fine on my testing server (an internal IP). Development: =20
W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2.

The php.ini SESSION settings are the same on both machines.

Seems to me I made this choice at some point, but now my feeble brain
can't bring it up.


"Anyone? Anyone?"


Ken

(Sorry for cross-posting --- not sure of etiquette here. Please inform
if necessary.)

--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Sessions working/not

am 08.02.2007 04:25:34 von Dijital

What URL are you using on your dev machine in the web browser when
testing? http://localhost...? I would try instead explicitly specifying
the machine's IP. I've had some weird issues come up in developing when
I try and use 'localhost'. Cheers.

- A -

Ken Kixmoeller -- reply to ken@kixmoeller.com wrote:
> Hey - -- -
>
> Would anyone be so kind as to un-stick my brain?
>
> I can't get sessions to work on my development machine (localhost). They
> work fine on my testing server (an internal IP). Development: W2K,
> Testing Server W2K Server, both using IIS 5, PHP 5.2.
>
> The php.ini SESSION settings are the same on both machines.
>
> Seems to me I made this choice at some point, but now my feeble brain
> can't bring it up.
>
>
> "Anyone? Anyone?"
>

>
> Ken
>
> (Sorry for cross-posting --- not sure of etiquette here. Please inform
> if necessary.)
>
> --PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: Sessions working/not

am 08.02.2007 07:55:00 von Gustav Wiberg

=20
Hi there!

Is it exactly the same code? Do you have any code-snippet that you would li=
ke to share with us?

Best regards
/Gustav Wiberg


-----Original Message-----
From: Ken Kixmoeller -- reply to ken@kixmoeller.com [mailto:Kixjaguar@comca=
st.net]=20
Sent: Wednesday, February 07, 2007 6:44 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Sessions working/not

Hey - -- -

Would anyone be so kind as to un-stick my brain?

I can't get sessions to work on my development machine (localhost). =20
They work fine on my testing server (an internal IP). Development: =20
W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2.

The php.ini SESSION settings are the same on both machines.

Seems to me I made this choice at some point, but now my feeble brain =20
can't bring it up.


"Anyone? Anyone?"


Ken

(Sorry for cross-posting --- not sure of etiquette here. Please =20
inform if necessary.)

--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Sessions working/not

am 08.02.2007 14:48:04 von Swincher

On Feb 7, 2007, at 9:25 PM, Armando wrote:
> What URL are you using on your dev machine in the web browser when
> testing? http://localhost...? I would try instead explicitly
> specifying the machine's IP. I've had some weird issues come up in
> developing when I try and use 'localhost'. Cheers.

Gee, that did it. I never would have come up with that.

Thank you, Armondo

KEn

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Sessions working/not

am 08.02.2007 14:58:33 von Swincher

On Feb 8, 2007, at 12:55 AM, Gustav Wiberg wrote:

> Is it exactly the same code?

Yes, it was the same code, exactly, and any URL. Armondo's hint made
it work, though.

Thank you very much for replying.

Ken

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php