Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #10716
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx23.iad.POSTED!not-for-mail |
|---|---|
| Message-ID | <52277021.10408@tobiah.org> (permalink) |
| From | Tobiah <toby@tobiah.org> |
| User-Agent | Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.php |
| Subject | Re: Strange url session behaviour after upgrade to 4.3 |
| References | <2k7Ut.171612$907.130622@fx17.iad> <kvrdc2$fqc$1@dont-email.me> <PGnVt.46133$Zd2.31433@fx02.iad> <l054hg$7tb$1@dont-email.me> <52262559.80509@tobiah.org> <52262c75$0$6569$9b4e6d93@newsspool3.arcor-online.net> |
| In-Reply-To | <52262c75$0$6569$9b4e6d93@newsspool3.arcor-online.net> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Lines | 29 |
| X-Complaints-To | abuse@teranews.com |
| NNTP-Posting-Date | Wed, 04 Sep 2013 17:38:42 UTC |
| Organization | TeraNews.com |
| Date | Wed, 04 Sep 2013 10:38:41 -0700 |
| X-Received-Bytes | 1670 |
| Xref | csiph.com comp.lang.php:10716 |
Show key headers only | View raw
On 09/03/2013 11:38 AM, Christoph Michael Becker wrote: > Tobiah wrote: > >> The crux I think is that this works: >> >> session_id($_COOKIE['PHPSESSID']); >> session_start(); >> >> but plain session_start() does not. > > You may consider checking the PHP ini settings session.name and > session.use_cookies. > session.name = PHPSESSID session.use_cookies = 1 I wasn't looking too much at the php.ini because the sessions work fine when loading normal pages. I know I'm using the PHPSESSID cookie, because when I delete that cookie, my session goes away. The only difference here is that instead of using a browser, I'm using curl. I know that curl is setting the cookie because of the code quoted above. Thanks, Tobiah
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Strange url session behaviour after upgrade to 4.3 Tobiah <toby@tobiah.org> - 2013-08-30 13:33 -0700
Re: Strange url session behaviour after upgrade to 4.3 Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-30 20:28 -0400
Re: Strange url session behaviour after upgrade to 4.3 Tobiah <toby@tobiah.org> - 2013-09-03 08:58 -0700
Re: Strange url session behaviour after upgrade to 4.3 Jerry Stuckle <jstucklex@attglobal.net> - 2013-09-03 12:59 -0400
Re: Strange url session behaviour after upgrade to 4.3 Tobiah <toby@tobiah.org> - 2013-09-03 11:07 -0700
Re: Strange url session behaviour after upgrade to 4.3 Christoph Michael Becker <cmbecker69@arcor.de> - 2013-09-03 20:38 +0200
Re: Strange url session behaviour after upgrade to 4.3 Tobiah <toby@tobiah.org> - 2013-09-04 10:38 -0700
Strange url session behaviour after upgrade to 5.3 (was: Strange url session behaviour after upgrade to 4.3) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-09-06 00:23 +0200
Re: Strange url session behaviour after upgrade to 4.3 Jerry Stuckle <jstucklex@attglobal.net> - 2013-09-03 14:52 -0400
Re: Strange url session behaviour after upgrade to 4.3 Christoph Michael Becker <cmbecker69@arcor.de> - 2013-08-31 19:58 +0200
Re: Strange url session behaviour after upgrade to 4.3 Luuk <luuk@invalid.lan> - 2013-08-31 20:47 +0200
csiph-web