🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #220226

Re: Zend framework bez cookies

#220226
From: ant
Date: Wed, 19 Aug 2009 19:04
30 lines
2096 bytes
Peter wrote:
>> Sprawdź też czy:
>> "Wrong: Do not enable PHP's  session.auto_start setting."
>> "Wrong: Do not use PHP's session_start() function directly."
> Mam sprawdzić czy podane ustawienia nie są przypadkiem ustawione?

Tak. Generalnie doprowadź do tego, żeby nic Zendowi nie
przeszkadzało w inicjalizacji sesji.

No i zobacz źródło:
http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Session.php

tam są takie ciekawostki jak:
        'cookie_lifetime'           => null,
        'cookie_path'               => null,
        'cookie_domain'             => null,
        'cookie_secure'             => null,
        'cookie_httponly'           => null,
        'use_cookies'               => null,
        'use_only_cookies'          => 'on',

myślę, że coś w okolicach use_cookies i use_only_cookies...

zresztą jest to też opisane w linku, który przytoczyłeś.
Ustawiasz use_cookies w konfigu?

Rozumiem, że chcesz aby bez cookies id sesji leciało w URL?
Pytanie jest, czy aby na pewno na tym Ci zależy?

http://www.theregister.co.uk/2008/09/29/sessionid_protection/
Technical Details
Message-ID: <h6hj1n$9ak$1@nemesis.news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
References: <h6f4rs$8mt$1@node1.news.atman.pl> <h6h2kr$rm3$1@atlantis.news.neostrada.pl> <h6h36j$ibu$1@node1.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
From: ant <ant@nowhere.tld>
Newsgroups: pl.comp.lang.php
Subject: Re: Zend framework bez cookies
Date: Wed, 19 Aug 2009 21:04:10 +0200
Organization: TP - http://www.tp.pl/
Lines: 30
Message-ID: <h6hj1n$9ak$1@nemesis.news.neostrada.pl>
References: <h6f4rs$8mt$1@node1.news.atman.pl> <h6h2kr$rm3$1@atlantis.news.neostrada.pl> <h6h36j$ibu$1@node1.news.atman.pl>
NNTP-Posting-Host: 79.189.151.28
Mime-Version: 1.0
X-Trace: nemesis.news.neostrada.pl 1250709367 9556 79.189.151.28 (19 Aug 2009 19:16:07 GMT)
X-Complaints-To: usenet@news.neostrada.pl
NNTP-Posting-Date: Wed, 19 Aug 2009 19:16:07 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.17 (X11/20080927)
In-Reply-To: <h6h36j$ibu$1@node1.news.atman.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit