★ wanayoo — archive 1999 http://www.php.net/manual/ja/function.session-set-cookie-params.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to セッション
Quick Reference
English version of this pageGerman version of this pageItalian version of this pageHungarian version of this page
セッション
* session_start
* session_destroy
* session_name
* session_module_name
* session_save_path
* session_id
* session_register
* session_unregister
* session_unset
* session_is_registered
* session_get_cookie_params
* session_set_cookie_params
* session_decode
* session_encode
Manual: session_set_cookie_params
View the source code for this pageSearch the site



Previous page
 session_get_cookie_params
 Updated
Mon, 14 Aug 2000
session_decode 
Next page


session_set_cookie_params

(PHP4 >= 4.0b4)

session_set_cookie_params --  セッションクッキーパラメータを設定する

説明

void session_set_cookie_params (int lifetime [, string path [, string domain]])

ファイルphp.iniで定義されたクッキーパラメータを設定します。 この関数の効果が持続するのは、スクリプトの実行が終了するまでです。


User Contributed Notes: session_set_cookie_params


j a s o n p 0 1 9@yahoo.com
13-Jul-2000 01:33
Ummm...can we use this to make a session cookie last greater than the lifetime of the browser? On lower-security sites, you may want someone to log in and stay logged in forever until they log out manually.

Thanks!



principe@mail.pt
31-Jul-2000 07:06
I'm newby... can someone give an exemple how i can register the var $login for exemple and how can get it later?


 About Notes


Previous page
 session_get_cookie_params
 Updated
Mon, 14 Aug 2000
session_decode 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.