ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Veaceslav Grecea <slavutich@grecea.net>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Q: работают ли сессии в нашем PHP?
Date: Thu, 21 Aug 2008 17:16:42 +0300
Message-ID: <200808211716.44232.slavutich@grecea.net> (raw)
In-Reply-To: <75e139a00808210626w2ff4160dxc5b574c1889d397c@mail.gmail.com>

On Четверг 21 августа 2008, Slava Semushin wrote:
> Здравствуйте!

<skipped>
> test1.php:
>
> <?php
> session_start();
> $_SESSION['user']='Username';
> header("location: test2.php");
> ?>
>
> test2.php:
> <?php
> session_start();
> echo $_SESSION['user'];
> ?>
>
> У меня после запуска test1.php выдаётся ошибка:
>
> Notice: Undefined index: user in /var/www/html/ses/test2.php on line 4
УМВР.

Та же бочка с дёгтем, бишь PHP.

-- 
wbr, slavutich

  reply	other threads:[~2008-08-21 14:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21 13:26 Slava Semushin
2008-08-21 14:16 ` Veaceslav Grecea [this message]
2008-08-21 17:03   ` Slava Semushin
2008-08-21 15:11 ` Denis Klimov
2008-08-22  5:06   ` [sisyphus] [SOLVED] " Slava Semushin
2008-08-22  4:25 ` [sisyphus] " Sergey Kurakin

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=200808211716.44232.slavutich@grecea.net \
    --to=slavutich@grecea.net \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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