ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Yury Konovalov" <speccyfan@gmail.com>
To: "ALT Linux sysadmin discuss" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Сессия php после redirect
Date: Fri, 12 Sep 2008 10:15:43 +0300
Message-ID: <99785b730809120015s3a2cd7e3m5a681a78c8002b13@mail.gmail.com> (raw)
In-Reply-To: <f725ea640809111507r10bfd018xea3cb8128a557f06@mail.gmail.com>

Г

12 сентября 2008 г. 1:07 пользователь Rinat Bikov <bikoz.r@gmail.com> написал:
> Здравствуйте, уважаемые!
> Имеется такая ситуация:
> apache2-mod_php5-5.2.7.20080627-alt1
> apache2-2.2.9-alt10
> В php.ini присутствует следующая строчка:
> register_globals = On
>
> В итоге если в одном PHP файле сохранить что-либо в сессии
> и сделать редирект на другую страницу, то на другой
> странице всё сохранённое в сессии теряется.
>
> session_start, session_write_close используются.
>
> Гуглил по этому поводу, русскоязычных тредов не нашёл,
> а англоязычные треды по этому поводу есть, только
> решения также пока не увидел (если не считать использования
> свежего CodeIgniter).
>
> Кто-нибудь сталкивался с этим?
Где хранится идентификатор сессии? Если не в куках в GET, то
естественно его при редиректе нужно учитывать.
-- 
Best Regards, Yury Konovalov aka Speccyfan (2:453/53)
Registered Linux User #379588

       reply	other threads:[~2008-09-12  7:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12  7:15 ` Yury Konovalov [this message]
2008-09-17 21:26   ` Konstantin A. Lepikhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=99785b730809120015s3a2cd7e3m5a681a78c8002b13@mail.gmail.com \
    --to=speccyfan@gmail.com \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git