FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Strange url session behaviour after upgrade to 4.3
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Strange url session behaviour after upgrade to 4.3 [message #182729 is a reply to message #182706] Sat, 31 August 2013 17:58 Go to previous messageGo to previous message
Christoph Michael Bec is currently offline  Christoph Michael Bec
Messages: 207
Registered: June 2013
Karma:
Senior Member
Tobiah wrote:

> I have a page that needs to get another page on the fly, using
> the same session. I figured out how to stop my session and set
> the cookie on the CURL handler, and everything was cool. The
> curled page had my same session available as the calling page.
> Life was good.
>
> Now something has changed after upgrading from 5.2.4 to 5.3.10.
> My session was no longer available on the curled page. What's
> strange is that the PHPSESSID cookie was still being set, and
> hit had the correct value.
>
> Here is the weirdest part. If I do this:
>
> session_id($_COOKIE['PHPSESSID']);
> session_start();
>
> The session is there! But why isn't php taking
> the cookie as the id all by itself?

Have you checked the PHP ini settings related to sessions (session.*),
especially session.name and session.use_cookies?

--
Christoph M. Becker
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: str_replace & assign to a var?
Next Topic: php exec ( ) DO NOT work for relative paths: Help?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Sep 18 13:32:42 GMT 2024

Total time taken to generate the page: 0.07088 seconds