Re: Re: Session_id(); are changing between the pages.
| From: | Ashley Sheridan | Date: | Sun, 08 Jun 2014 08:56:52 +0000 |
| Subject: | Re: Re: Session_id(); are changing between the pages. | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323423@lists.php.net to get a copy of this message | ||
On Sun, 2014-06-08 at 04:02 +0300, hadi wrote:
> Stuart,
>
>
> > Bingo! Change session.cookie_path in your php.ini from /tmp to /. Sorry I
> > didn’t look closer at your php.ini when you posted it earlier.
>
> It work thank you.
>
> I have a other error when I click back button in my browser it give me (Webpage has expired)
> Any clue why this happing ?
>
> > > Set-Cookie PHPSESSID=a01h328drivti3aqhp1f5hog71; path=/tmp
> >
> > Bingo! Change session.cookie_path in your php.ini from /tmp to /. Sorry I
> > didn’t look closer at your php.ini when you posted it earlier.
> >
> > -Stuart
> >
> > --
> > Stuart Dallas
> > 3ft9 Ltd
> > http://3ft9.com/
That usually happens when you've sent POST data to a page, which should
be used to change state on the server. Your browser is recognising this
and informing you (in its own little way) that this is something you
might not want to do.
--
Thanks,
Ash
http://www.ashleysheridan.co.uk