Martin wrote:
> The sessions-functions works really fine. But I got one Problem: How can
> I make the php-session last more then a browser-session? When the users
Now it isn't a 'session' for nothing, for your use I guess cookies and storage
of state in database is a much better thing.
to make a valid example just put an unique string in a cookie and store the
user settings in the database (or file system in cause you're silly enough not
to use a database ;) and then just fetch them when the user enters the page and
the cookie exists.
--
PHP Developer, home: http://www.moijk.net | work: http://www.coretrek.com
rawurldecode: Decode URL-encoded strings |
http://www.php.net/manual/en/function.rawurldecode.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]