Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #6527
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Arno Welzel <usenet@arnowelzel.de> |
| Newsgroups | comp.lang.php |
| Subject | Re: Lost $_SESSION in Google Chrome |
| Date | Tue, 10 Jul 2012 20:52:29 +0200 |
| Organization | A noiseless patient Spider |
| Lines | 43 |
| Message-ID | <4FFC79ED.8070203@arnowelzel.de> (permalink) |
| References | <7b349e8d-076f-4497-87b4-38786ac3ade1@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| Injection-Info | mx04.eternal-september.org; posting-host="daaa3aed3c2cee055e82a8ff6e0b01e1"; logging-data="6720"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19o0fwOcOWnNeff2yu6KKcYOlca2YzySSQ=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
| In-Reply-To | <7b349e8d-076f-4497-87b4-38786ac3ade1@googlegroups.com> |
| Cancel-Lock | sha1:P6UsRmM6h0DZ9j52WigXOKbSlcY= |
| Xref | csiph.com comp.lang.php:6527 |
Show key headers only | View raw
falk.fiedler@googlemail.com, 10.07.2012 11:02:
> hello,
>
> my local Google Chrome loses session on every page request. I tested with:
>
>
> <?php
>
> session_start();
>
> echo session_id()."<br>";
>
> if(!isset($_SESSION['temp']))
> {
> $_SESSION['temp']=99;
> }
> else
> {
> $_SESSION['temp']--;
> }
>
> echo $_SESSION['temp'];
>
> ?>
>
> the session_id() is new on every page request and the $_SESSION['temp' is always 99.
Works for me - no problem here with my local Apache.
Tested with Google Chrome 20.0.1132.47 m on Windows 7 Pro x64.
> But only on my local webserver. The script works on a webspace. What's wrong with the local config of Chrome?
What's wrong with your local webserver?
--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Lost $_SESSION in Google Chrome falk.fiedler@googlemail.com - 2012-07-10 02:02 -0700
Re: Lost $_SESSION in Google Chrome Jerry Stuckle <jstucklex@attglobal.net> - 2012-07-10 05:16 -0400
Re: Lost $_SESSION in Google Chrome falk.fiedler@googlemail.com - 2012-07-10 02:21 -0700
Re: Lost $_SESSION in Google Chrome Jerry Stuckle <jstucklex@attglobal.net> - 2012-07-10 05:56 -0400
Re: Lost $_SESSION in Google Chrome Arno Welzel <usenet@arnowelzel.de> - 2012-07-10 20:52 +0200
Re: Lost $_SESSION in Google Chrome Silver Moonstone <m00n.silv3r@gmail.com> - 2012-07-11 06:44 -0700
Re: Lost $_SESSION in Google Chrome Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-07-11 16:39 +0200
Re: Lost $_SESSION in Google Chrome Arno Welzel <usenet@arnowelzel.de> - 2012-07-11 19:36 +0200
Re: Lost $_SESSION in Google Chrome "Peter H. Coffin" <hellsop@ninehells.com> - 2012-07-11 16:33 -0500
Re: Lost $_SESSION in Google Chrome Arno Welzel <usenet@arnowelzel.de> - 2012-07-13 10:57 +0200
Re: Lost $_SESSION in Google Chrome Jerry Stuckle <jstucklex@attglobal.net> - 2012-07-12 00:00 -0400
Re: Lost $_SESSION in Google Chrome Arno Welzel <usenet@arnowelzel.de> - 2012-07-13 10:58 +0200
Re: Lost $_SESSION in Google Chrome "J.O. Aho" <user@example.net> - 2012-07-13 11:27 +0200
csiph-web