FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Lost $_SESSION in Google Chrome
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Lost $_SESSION in Google Chrome [message #178591 is a reply to message #178589] Tue, 10 July 2012 09:16 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 7/10/2012 5:02 AM, falk(dot)fiedler(at)googlemail(dot)com wrote:
> 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.
>
> But only on my local webserver. The script works on a webspace. What's wrong with the local config of Chrome?
>
> Thank you
>
>
> Falk
>

This is a PHP newsgroup. If you want to know what's wrong with Chrome,
I suggest you ask Chrome support.

Does it work with Firefox and/or IE? If so, then it's almost definitely
not a PHP problem.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: not understanding pattern matching
Next Topic: Stuck on Exercise 1
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 20:46:15 GMT 2024

Total time taken to generate the page: 0.06765 seconds