Re: How to keep form inputs from being cleared
| From: | Jason Wong | Date: | Fri, 08 Feb 2002 23:29:26 +0000 |
| Subject: | Re: How to keep form inputs from being cleared | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84067@lists.php.net to get a copy of this message | ||
On Saturday 09 February 2002 06:56, SpamSucks86 wrote:
> With --enable-trans-sid the problem still exists. For example, a user
> logs in and cookies are disabled. He browses to a page which doesn't
> load the session. Then from there he goes to a page that does use
> sessions. Unless I'm mistaken, --enable-trans-sid won't add the session
> ID unless the session is started on the page.
All you have to do is ensure that in all your pages you initialise the
session. This can also be done automatically through the session.auto_start
setting in php.ini.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
While money can't buy happiness, it certainly lets you choose your own
form of misery.
*/