goba Fri Mar 22 06:14:44 2002 EDT
Modified files:
/phpdoc/hu/functions session.xml
Log:
Session translation ready ;)
Index: phpdoc/hu/functions/session.xml
diff -u phpdoc/hu/functions/session.xml:1.3 phpdoc/hu/functions/session.xml:1.4
--- phpdoc/hu/functions/session.xml:1.3 Sun Mar 17 10:49:25 2002
+++ phpdoc/hu/functions/session.xml Fri Mar 22 06:14:44 2002
@@ -644,18 +644,18 @@
<refentry id="function.session-module-name">
<refnamediv>
<refname>session_module_name</refname>
- <refpurpose>Get and/or set the current session module</refpurpose>
+ <refpurpose>Az aktu�lis munkamenet modul lek�rdez�se / be�ll�t�sa</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>string</type><methodname>session_module_name</methodname>
<methodparam
choice="opt"><type>string</type><parameter>module</parameter></methodparam>
</methodsynopsis>
<para>
- <function>session_module_name</function> returns the name of the
- current session module. If <parameter>module</parameter> is
- specified, that module will be used instead.
+ A <function>session_module_name</function> visszat�r az aktu�lis
+ munkamenet modul nev�vel. Ha a <parameter>module</parameter>
+ param�tert is megadod, a modult a megadottra �ll�tja �t.
</para>
</refsect1>
</refentry>
@@ -663,24 +663,26 @@
<refentry id="function.session-save-path">
<refnamediv>
<refname>session_save_path</refname>
- <refpurpose>Get and/or set the current session save path</refpurpose>
+ <refpurpose>Az aktu�lis munkamenet ment�si k�nyvt�r lek�rdez�se /
+be�ll�t�sa</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>string</type><methodname>session_save_path</methodname>
<methodparam
choice="opt"><type>string</type><parameter>path</parameter></methodparam>
</methodsynopsis>
<para>
- <function>session_save_path</function> returns the path of the current
- directory used to save session data. If <parameter>path</parameter>
- is specified, the path to which data is saved will be changed.
+ A <function>session_save_path</function> visszat�r az aktu�lis munkamenet
+ ment�si k�nyvt�rral, ahol a PHP a munkamenet adatokat t�rolja. Ha a
+ <parameter>path</parameter> param�ter meg van adva, a ment�si k�nyvt�r
+ megv�ltozik.
<note>
<para>
- On some operating systems, you may want to specify a path on a
- filesystem that handles lots of small files efficiently. For
- example, on Linux, reiserfs may provide better performance than
- ext2fs.
+ N�h�ny oper�ci�s renszeren lehet�s�g van arra, hogy olyan
+ el�r�si utat adj�l meg, ami egy kis �llom�nyokat hat�konyabban
+ kezel� �llom�nyrendszeren van. Linuxon p�ld�ul a reiserfs
+ �llom�nyrendszer jobb teljes�tm�nnyel kezeli a PHP munkamenet
+ �llom�nyait, mint az ext2fs.
</para>
</note>
</para>
@@ -690,23 +692,23 @@
<refentry id="function.session-id">
<refnamediv>
<refname>session_id</refname>
- <refpurpose>Get and/or set the current session id</refpurpose>
+ <refpurpose>Az aktu�lis munkamenet azonos�t� lek�rdez�se / be�ll�t�sa</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>string</type><methodname>session_id</methodname>
<methodparam
choice="opt"><type>string</type><parameter>id</parameter></methodparam>
</methodsynopsis>
<para>
- <function>session_id</function> returns the session id for the
- current session. If <parameter>id</parameter> is specified, it
- will replace the current session id.
+ A <function>session_id</function> visszat�r az aktu�lis munkamenet
+ azonos�t�j�val. Ha az <parameter>id</parameter> param�tert is megadod,
+ akkor az az �rt�k lesz az �j munkamenet azonos�t�.
</para>
<para>
- The constant <systemitem>SID</systemitem> can also be used to
- retrieve the current name and session id as a string suitable for
- adding to URLs.
+ A <systemitem>SID</systemitem> konstans is haszn�lhat� az aktu�lis
+ munkemenet n�v �s azonos�t� lek�rdez�s�re, ha URL-be szeretn�d
+ tenni az azonos�t�t.
</para>
</refsect1>
</refentry>
@@ -715,88 +717,95 @@
<refnamediv>
<refname>session_register</refname>
<refpurpose>
- Register one or more variables with the current session
+ Egy vagy t�bb v�ltoz� bejegyz�se munkamenet v�ltoz�kk�nt
</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>bool</type><methodname>session_register</methodname>
<methodparam><type>mixed</type><parameter>name</parameter></methodparam>
<methodparam
choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
</methodsynopsis>
<para>
- <function>session_register</function> accepts a variable number of
- arguments, any of which can be either a string holding the name of a
- variable or an array consisting of variable names or other arrays. For
- each name, <function>session_register</function> registers the global
- variable with that name in the current session.
+ A <function>session_register</function> f�ggv�nyt tetsz�leges sz�m�
+ param�terrel h�vhatod. B�rmely param�ter lehet egy karaktersorozat,
+ ami egy v�ltoz� neve, vagy egy t�mb, ami v�ltoz�neveket vagy �jabb
+ t�mb�ket tartalmaz. A <function>session_register</function> minden
+ megadott nev� glob�lis v�ltoz�t bejegyzi az aktu�lis munkamenet
+ v�ltoz�jak�nt.
</para>
<caution>
<para>
- This registers a <emphasis>global</emphasis> variable. If you want to
- register a session variable inside a function, you need to make sure to
- make it global using <function>global</function> or use the session
- arrays as noted below.
+ Ez a f�ggv�ny <emphasis>glob�lis</emphasis> v�ltoz�k regisztr�l�s�ra
+ haszn�lhat�. Ha egy f�ggv�nyen bel�l szeretn�l munkamenet v�ltoz�t
+ bejegyezni, el�bb glob�liss� kell tenned a <function>global</function>
+ kulcssz� haszn�lat�val, vagy a munkamenet t�mb�ket kell haszn�lnod,
+ ahogy lentebb le�rjuk.
</para>
</caution>
<caution>
<para>
- If you are using
- <varname>$HTTP_SESSION_VARS</varname>/<varname>$_SESSION</varname>,
- do not use <function>session_register</function>,
- <function>session_is_registered</function> and
- <function>session_unregister</function>.
+ Ha a
+ <varname>$HTTP_SESSION_VARS</varname> vagy <varname>$_SESSION</varname>
+ t�mb�ket haszn�lod, ne haszn�ld a <function>session_register</function>,
+ <function>session_is_registered</function> �s
+ <function>session_unregister</function> f�ggv�nyeket v�ltoz�k
+ bejegyz�s�re!
</para>
</caution>
<para>
- This function returns &true; when all of the variables are successfully
- registered with the session.
+ Ez a f�ggv�ny &true; �rt�kkel t�r vissza, ha minden megadott nev�
+ v�ltoz� sikeresen bejegyz�sre ker�lt a munkamenetben.
</para>
<para>
- If <function>session_start</function> was not called before this function
- is called, an implicit call to <function>session_start</function> with no
- parameters will be made.
+ Ha a <function>session_start</function> f�ggv�nyt nem h�vtad meg
+ ennek a f�ggv�nynek a h�v�sa el�tt, a
+ <function>session_register</function> megh�v�s�val a PHP k�zvetve
+ automatikusan megh�vja a <function>session_start</function>
+ f�ggv�nyt param�terek n�lk�l.
</para>
<para>
- You can also create a session variable by simply setting the
- appropriate member of the <varname>$HTTP_SESSION_VARS</varname>
- or <varname>$_SESSION</varname> (PHP >= 4.1.0) array.
+ Egyszer�bben jegyezheted be a munkamenet v�ltoz�kat, ha a
+ <varname>$HTTP_SESSION_VARS</varname> vagy
+ <varname>$_SESSION</varname> (PHP >= 4.1.0) asszociat�v
+ t�mb�k egyik�ben hozol l�tre egy �j kulcsot �s �rt�ket.
<informalexample>
<programlisting role="php">
<![CDATA[
-$barney = "A big purple dinosaur.";
+$barney = "Egy b�borsz�n� dinoszaurusz.";
session_register("barney");
-$HTTP_SESSION_VARS["zim"] = "An invader from another planet.";
+$HTTP_SESSION_VARS["zim"] = "T�mad� egy m�sik bolyg�r�l.";
-# the auto-global $_SESSION array was introduced in PHP 4.1.0
-$_SESSION["spongebob"] = "He's got square pants.";
+# A szuperglob�lis $_SESSION t�mb a PHP 4.1.0 verzi� �ta haszn�lhat�
+$_SESSION["spongebob"] = "Sz�gletes nadr�gja van.";
]]>
</programlisting>
</informalexample>
</para>
<note>
<para>
- It is not currently possible to register resource variables in a
- session. For example, you can not create a connection to a
- database and store the connection id as a session variable and
- expect the connection to still be valid the next time the
- session is restored. PHP functions that return a resource are
- identified by having a return type of
- <literal>resource</literal> in their function definitions. A
- list of functions that return resources are available in the
- <link linkend="resource">resource types</link> appendix.
- </para>
- <para>
- If <varname>$_SESSION</varname> (or
- <varname>$HTTP_SESSION_VARS</varname> for PHP 4.0.6 or less) is
- used, assign variable to
- <varname>$_SESSION</varname>. i.e. $_SESSION['var'] = 'ABC';
+ Jelenleg nem lehets�ges er�forr�sok bejegyz�se munkamenetekben.
+ Nem lehets�ges p�ld�ul egy adatb�zis kapcsolat l�trehoz�sa,
+ regisztr�l�sa a munkamenetben, �s a k�vetkez� munkamenet
+ folytat�skor az adatb�zis kapcsolat haszn�lata. Az
+ er�forr�sokkal visszat�r� f�ggv�nyek arr�l ismerhet�ek fel,
+ hogy a le�r�sukban <literal>resource</literal> a megadott
+ visszat�r�si t�pus. Az er�forr�sokkal visszat�r� f�ggv�nyek
+ list�ja megtal�lhat� az <link linkend="resource">er�forr�s
+ t�pusok</link> f�ggel�kben.
+ </para>
+ <para>
+ A <varname>$_SESSION</varname> (vagy
+ <varname>$HTTP_SESSION_VARS</varname> PHP 4.0.6 vagy kor�bbi
+ verzi�kban) haszn�latakor �j asszociat�v indexet kell l�trehozni
+ a <varname>$_SESSION</varname> t�mbben. P�ld�ul
+ $_SESSION['valtozo'] = 'ABC';
</para>
</note>
<para>
- See also <function>session_is_registered</function> and
+ L�sd m�g <function>session_is_registered</function> �s
<function>session_unregister</function>.
</para>
</refsect1>
@@ -806,47 +815,48 @@
<refnamediv>
<refname>session_unregister</refname>
<refpurpose>
- Unregister a variable from the current session
+ Munkamenet v�ltoz� t�rl�se a munkamenetb�l
</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>bool</type><methodname>session_unregister</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<para>
- <function>session_unregister</function> unregisters (forgets)
- the global variable named <parameter>name</parameter> from the
- current session.
+ A <function>session_unregister</function> t�rli (elfelejti)
+ a <parameter>name</parameter> param�terben megadott nev�
+ glob�lis munkamenet v�ltoz�t, az aktu�lis munkamenetb�l.
</para>
<para>
- This function returns &true; when the variable is successfully
- unregistered from the session.
+ Ez a f�ggv�ny &true; �rt�kkel t�r vissza, ha a v�ltoz� t�rl�se
+ sikeresen megt�rt�nt az aktu�lis munkamenetet �rint�en.
</para>
<note>
<para>
- If <varname>$_SESSION</varname> (or
- <varname>$HTTP_SESSION_VARS</varname> for PHP 4.0.6 or less) is
- used, use <function>unset</function> to unregister a session
- variable.
+ A <varname>$_SESSION</varname> (vagy
+ <varname>$HTTP_SESSION_VARS</varname> PHP 4.0.6 vagy kor�bbi
+ verzi�kban) haszn�latakor az <function>unset</function>
+ f�ggv�nyt kell haszn�lni munkamenet v�ltoz� t�rl�s�re,
+ param�terk�nt �tadva a t�mb v�ltoz�hoz tartoz� elem�t.
</para>
</note>
<caution>
<para>
- This function doesn't unset the corresponding global variable for
- <parameter>name</parameter>, it only prevents the variable from being
- saved as part of the session. You must call <function>unset</function>
- to remove the corresponding global variable.
+ Ez a f�ggv�ny nem t�rli a munkamenet v�ltoz�hoz tartoz� glob�lis
+ <parameter>name</parameter> nev� v�ltoz�t, csak megsz�nteti a
+ v�ltoz� �s a munkamenet kapcsolat�t. Meg kell h�vnod az
+ <function>unset</function> f�ggv�nyt a v�ltoz�ra, ha t�r�lni
+ szeretn�d a glob�lis v�ltoz�t is.
</para>
</caution>
<caution>
<para>
- If you are using
- <varname>$HTTP_SESSION_VARS</varname>/<varname>$_SESSION</varname>,
- do not use <function>session_register</function>,
- <function>session_is_registered</function> and
- <function>session_unregister</function>.
+ A <varname>$HTTP_SESSION_VARS</varname> vagy <varname>$_SESSION</varname>
+ t�mb�k haszn�lata eset�n ne h�vd meg a <function>session_register</function>,
+ <function>session_is_registered</function> vagy
+ <function>session_unregister</function> f�ggv�nyeket.
</para>
</caution>
</refsect1>
@@ -856,25 +866,26 @@
<refnamediv>
<refname>session_unset</refname>
<refpurpose>
- Free all session variables
+ Minden munkamenet v�ltoz� felszabad�t�sa
</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>void</type><methodname>session_unset</methodname>
<void/>
</methodsynopsis>
<para>
- The <function>session_unset</function> function free's all session variables
- currently registered.
+ A <function>session_unset</function> f�ggv�ny minden �ppen
+ bejegyzett munkamenet v�ltoz�t felszabad�t.
</para>
<note>
<para>
- If <varname>$_SESSION</varname> (or
- <varname>$HTTP_SESSION_VARS</varname> for PHP 4.0.6 or less) is
- used, use <function>unset</function> to unregister session
- variable. i.e. $_SESSION = array();
+ Ha a <varname>$_SESSION</varname> (vagy
+ <varname>$HTTP_SESSION_VARS</varname> PHP 4.0.6 vagy kor�bbi verzi�kban)
+ t�mb�ket haszn�lod, az <function>unset</function> f�ggv�nnyel tudsz
+ egyes v�ltoz�kat t�rlni. A teljes t�rl�shez haszn�ld a
+ $_SESSION = array(); sort.
</para>
</note>
</refsect1>
@@ -884,35 +895,34 @@
<refnamediv>
<refname>session_is_registered</refname>
<refpurpose>
- Find out if a variable is registered in a session
+ Egy v�ltoz� bejegyzetts�g�t ellen�rzi
</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>bool</type><methodname>session_is_registered</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<para>
- <function>session_is_registered</function> returns &true; if there
- is a variable with the name <parameter>name</parameter>
- registered in the current session.
+ A <function>session_is_registered</function> &true; �rt�kkel
+ t�r vissza, ha a <parameter>name</parameter> nev� v�ltoz�
+ be van jegyezve az aktu�lis munkamenet v�ltoz�jak�nt.
</para>
<note>
<para>
- If <varname>$_SESSION</varname> (or
- <varname>$HTTP_SESSION_VARS</varname> for PHP 4.0.6 or less) is
- used, use <function>isset</function> to check a variable is
- registered in <varname>$_SESSION</varname>.
+ Ha a <varname>$_SESSION</varname> (vagy
+ <varname>$HTTP_SESSION_VARS</varname> PHP 4.0.6 vagy kor�bbi verzi�kban)
+ t�mb�ket haszn�lod, az <function>isset</function> f�ggv�ny h�v�s�val
+ der�theted ki, hogy a v�ltoz� be van-e jegyezve a munkamenetbe.
</para>
</note>
<caution>
<para>
- If you are using
- <varname>$HTTP_SESSION_VARS</varname>/<varname>$_SESSION</varname>,
- do not use <function>session_register</function>,
- <function>session_is_registered</function> and
- <function>session_unregister</function>.
+ A <varname>$HTTP_SESSION_VARS</varname> vagy <varname>$_SESSION</varname>
+ t�mb�k haszn�lata eset�n ne h�vd meg a <function>session_register</function>,
+ <function>session_is_registered</function> vagy
+ <function>session_unregister</function> f�ggv�nyeket.
</para>
</caution>
</refsect1>
@@ -922,39 +932,39 @@
<refnamediv>
<refname>session_get_cookie_params</refname>
<refpurpose>
- Get the session cookie parameters
+ Lek�rdezi a munkamenet s�ti param�tereit
</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>array</type><methodname>session_get_cookie_params</methodname>
<void/>
</methodsynopsis>
<para>
- The <function>session_get_cookie_params</function> function returns an
- array with the current session cookie information, the array contains
- the following items:
+ A <function>session_get_cookie_params</function> visszaadja a munkamanet
+ s�ti param�tereit egy asszociat�v t�mbben. Ez a t�mb a k�vetkez� elemeket
+ tartalmazza:
<itemizedlist>
<listitem>
<simpara>
- "lifetime" - The lifetime of the cookie.
+ "lifetime" - A s�ti �lettartalma.
</simpara>
</listitem>
<listitem>
<simpara>
- "path" - The path where information is stored.
+ "path" - A s�ti el�r�si �t korl�toz�sa.
</simpara>
</listitem>
<listitem>
<simpara>
- "domain" - The domain of the cookie.
+ "domain" - A s�ti domain n�v korl�toz�sa.
</simpara>
</listitem>
<listitem>
<simpara>
- "secure" - The cookie should only be sent over secure connections.
- (This item was added in PHP 4.0.4.)
+ "secure" - A s�ti csak biztons�gos kapcsolaton kereszt�l
+ k�zlekedhet. (Ez a PHP 4.0.4 verzi� �ta lehets�ges.)
</simpara>
</listitem>
</itemizedlist>
@@ -966,11 +976,11 @@
<refnamediv>
<refname>session_set_cookie_params</refname>
<refpurpose>
- Set the session cookie parameters
+ A munkamenet s�ti param�tereit �ll�tja be
</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>void</type><methodname>session_set_cookie_params</methodname>
<methodparam><type>int</type><parameter>lifetime</parameter></methodparam>
@@ -978,8 +988,8 @@
<methodparam
choice="opt"><type>string</type><parameter>domain</parameter></methodparam>
</methodsynopsis>
<para>
- Set cookie parameters defined in the php.ini file. The effect of this
- function only lasts for the duration of the script.
+ A php.ini �llom�nyban defini�lt s�ti param�terek fel�l�r�sa. Ezen
+ f�ggv�ny hat�sa csak az aktu�lis program fut�s�nak v�g�ig tart.
</para>
</refsect1>
</refentry>
@@ -987,18 +997,18 @@
<refentry id="function.session-decode">
<refnamediv>
<refname>session_decode</refname>
- <refpurpose>Decodes session data from a string</refpurpose>
+ <refpurpose>Visszak�dolja a munkamenet adatokat egy
+karaktersorozatb�l</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>bool</type><methodname>session_decode</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>
- <function>session_decode</function> decodes the session data in
- <parameter>data</parameter>, setting variables stored in the
- session.
+ A <function>session_decode</function> visszak�dolja a munkamenet
+ adatokat a <parameter>data</parameter> karaktersorozatb�l, be�ll�tva
+ a munkamenetben l�v� v�ltoz�kat.
</para>
</refsect1>
</refentry>
@@ -1007,18 +1017,18 @@
<refnamediv>
<refname>session_encode</refname>
<refpurpose>
- Encodes the current session data as a string
+ Elk�dolja a munkamenet adatokat egy karaktersorozatba
</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>string</type><methodname>session_encode</methodname>
<void/>
</methodsynopsis>
<para>
- <function>session_encode</function> returns a string with the
- contents of the current session encoded within.
+ A <function>session_encode</function> visszat�r az aktu�lis
+ munkamenet adatainak egy karaktersorozatba k�dolt v�ltozat�val.
</para>
</refsect1>
</refentry>
@@ -1027,56 +1037,61 @@
<refnamediv>
<refname>session_set_save_handler</refname>
<refpurpose>
- Sets user-level session storage functions
+ Felhaszn�l�i szint� munkamenet t�rol� f�ggv�nyeket �ll�t be
</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>void</type><methodname>session_set_save_handler</methodname>
<methodparam><type>string</type><parameter>open</parameter></methodparam><methodparam><type>string</type><parameter>close</parameter></methodparam><methodparam><type>string</type><parameter>read</parameter></methodparam><methodparam><type>string</type><parameter>write</parameter></methodparam><methodparam><type>string</type><parameter>destroy</parameter></methodparam><methodparam><type>string</type><parameter>gc</parameter></methodparam>
</methodsynopsis>
<para>
- <function>session_set_save_handler</function> sets the user-level
- session storage functions which are used for storing and
- retrieving data associated with a session. This is most useful
- when a storage method other than those supplied by PHP sessions
- is preferred. i.e. Storing the session data in a local database.
+ A <function>session_set_save_handler</function> be�ll�tja a
+ programoz� �ltal PHP-ben meg�rt munkamenet t�rol� f�ggv�nyeket.
+ Ezeket haszn�lja majd a PHP a munkamenet adatainak t�rol�s�ra
+ �s lek�rdez�s�re. Ez a lehet�s�g akkor hasznos, ha a PHP �ltal
+ k�n�lt m�dszerek nem megfelel�ek. M�sfajta t�rol�s lehets�ges
+ az adatok lok�lis adatb�zisban t�rt�n� r�gz�t�s�vel.
</para>
<note>
<para>
- You must set the configuration option
- <parameter>session.save_handler</parameter> to
- <parameter>user</parameter> in your php.ini file for
- <function>session_set_save_handler</function> to take effect.
+ A php.ini <parameter>session.save_handler</parameter> be�ll�t�s�t
+ mindenk�ppen <parameter>user</parameter> �rt�kre kell �ll�tanod,
+ hogy a <function>session_set_save_handler</function> f�ggv�ny
+ h�v�s�nak legyen hat�sa.
</para>
</note>
<note>
<para>
- The "write" handler is not executed until after the output
- stream is closed. Thus, output from debugging statements in the
- "write" handler will never be seen in the browser. If debugging
- output is necessary, it is suggested that the debug output be
- written to a file instead.
+ Az �r�s kezel� csak a PHP program kimenet�nek elk�ld�se
+ ut�n h�v�dik meg. Ez�rt az �r�s kezel�ben a b�ng�sz�
+ sz�m�ra ki�rt, tipikusan hibakeres�st szolg�l� adatok
+ nem lesznek sohasem l�that�ak a b�ng�sz�ben. Ha a
+ hibakeres�shez adatok ki�r�sa sz�ks�ges, javasolt
+ napl� �llom�ny haszn�lata erre a c�lra.
</para>
</note>
<para>
- The following example provides file based session
- storage similar to the PHP sessions default save handler
- <parameter>files</parameter>. This example could easily be
- extended to cover database storage using your favorite PHP
- supported database engine.
+ Az al�bb l�that� p�lda �llmo�ny alap� munkamenet adat
+ t�rol�st val�s�t meg, hasonl�an a PHP alap�rtelmez�s�
+ <parameter>files</parameter> kezel�j�hez. Ez a p�lda
+ k�nnyen kiterjeszthet� egy adatb�zis t�rol�st alkalmaz�
+ kezel�v�, felhaszn�lva a kedvenc adatb�ziskezel�d
+ f�ggv�nyeit.
</para>
<para>
- Read function must return string value always to make save
- handler work as expected. Return empty string if there is no data
- to read. Return values from other handlers are converted to
- boolean expression. TRUE for success, FALSE for failure.
+ Az olvas� f�ggv�nynek mindig karaktersorozattal kell
+ visszat�rnie, hogy a ment�st v�gz� kezel� helyesen m�k�dj�n.
+ �res karaktersorozattal kell visszat�rni, ha nincs
+ adat, amit olvasni lehetne. M�s kezel�k visszat�r�si
+ �rt�kei logikai t�pus�v� alakulnak. Igaz �rt�ket
+ kell visszaadni siker est�n, hamisat hiba eset�n.
</para>
<para>
<example>
<title>
- <function>session_set_save_handler</function> example
+ <function>session_set_save_handler</function> p�lda
</title>
<programlisting role="php">
<![CDATA[
@@ -1101,7 +1116,7 @@
$sess_data = fread($fp, filesize($sess_file));
return($sess_data);
} else {
- return(""); // Must return "" here.
+ return(""); // Itt mindenk�ppen "" a visszat�r�si �rt�k.
}
}
@@ -1126,8 +1141,8 @@
}
/*********************************************
- * WARNING - You will need to implement some *
- * sort of garbage collection routine here. *
+ * FIGYELEM - Itt mindenk�ppen meg kell *
+ * val�s�tani valamif�le szem�tgy�jt�st. *
*********************************************/
function gc ($maxlifetime) {
return true;
@@ -1137,7 +1152,7 @@
session_start();
-// proceed to use sessions normally
+// Ezut�n hagyom�nyosan haszn�lhat� a munkamenet
?>
]]>
@@ -1150,59 +1165,64 @@
<refentry id="function.session-cache-limiter">
<refnamediv>
<refname>session_cache_limiter</refname>
- <refpurpose>Get and/or set the current cache limiter</refpurpose>
+ <refpurpose>Az aktu�lis munkamenet cache korl�toz�s lek�rdez�se /
+be�ll�t�sa</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>string</type><methodname>session_cache_limiter</methodname>
<methodparam
choice="opt"><type>string</type><parameter>cache_limiter</parameter></methodparam>
</methodsynopsis>
<para>
- <function>session_cache_limiter</function> returns the name of the
- current cache limiter. If <parameter>cache_limiter</parameter> is
- specified, the name of the current cache limiter is changed to the
- new value.
- </para>
- <para>
- The cache limiter controls the cache control HTTP headers sent to the
- client. These headers determine the rules by which the page content
- may be cached. Setting the cache limiter to <literal>nocache</literal>,
- for example, would disallow any client-side caching. A value of
- <literal>public</literal>, however, would permit caching. It can also
- be set to <literal>private</literal>, which is slightly more restrictive
- than <literal>public</literal>.
- </para>
- <para>
- In <literal>private</literal> mode, Expire header sent to the
- client, may cause confusion for some browser including Mozilla.
- You can avoid this problem with
- <literal>private_no_expire</literal> mode. Expire header is never
- sent to the client in this mode.
+ A <function>session_cache_limiter</function> visszat�r az aktu�lis
+ munkamenet cache korl�toz�s �rt�k�vel. Ha a
+ <parameter>cache_limiter</parameter> param�ter is meg van adva,
+ a cache korl�toz�s a megadott �rt�kre v�ltozik.
+ </para>
+ <para>
+ A cache korl�toz�s szab�lyozza a cache befoly�sol� HTTP fejl�ceket,
+ amiket a PHP a b�ng�sz�nek k�ld. Ezek a fejl�cek szab�lyozz�k,
+ hogy a munkameneteket haszn�l� oldalak hogyan jelenjenek meg
+ a gyors�t�t�rakban. Ha a <literal>nocache</literal> �rt�ket �ll�tod
+ be, minden kliens oldali cache-el�st letiltasz. A
+ <literal>public</literal> �rt�kkel �ppen ellenkez�leg enged�lyezed
+ a cache-el�st. Ezen k�v�l m�g a <literal>private</literal> �rt�ket
+ is meg tudod adni, ami valamivel korl�tozottabb, mint a
+ <literal>public</literal>.
+ </para>
+ <para>
+ <literal>private</literal> m�dban az Expire fejl�c, amit a
+ b�ng�sz� kap gondot okozhat a feldolgoz�sban n�h�ny b�ng�sz�n�l,
+ mint pl. a Mozilla. Ezt a probl�m�t a
+ <literal>private_no_expire</literal> m�d bekapcsol�s�val tudod
+ orvosolni. Az Expire fejl�cet ebben a m�dban nem k�ldi el a PHP
+ a kliensnek.
</para>
<note>
<para>
- <literal>private_no_expire</literal> was added in PHP 4.2.0dev.
+ A <literal>private_no_expire</literal> a 4.2.0dev verzi�ban ker�lt
+ a lehet�s�gek k�z�.
</para>
</note>
<para>
- The cache limiter is reset to the default value stored in
- <literal>session.cache_limiter</literal> at request startup time. Thus,
- you need to call <function>session_cache_limiter</function> for every
- request (and before <function>session_start</function> is called).
+ A korl�toz� �rt�k a php.ini <literal>session.cache_limiter</literal>
+ be�ll�t�s�ra �ll vissza a PHP program k�r�sek v�grehajt�sakor. Ez�rt
+ minden programban, ahol az alap�rtelmezett korl�toz�s nem megfelel�,
+ meg kell h�vnod a <function>session_cache_limiter</function> f�ggv�nyt
+ a <function>session_start</function> h�v�sa el�tt.
</para>
<example>
- <title><function>session_cache_limiter</function> examples</title>
+ <title><function>session_cache_limiter</function> p�ld�k</title>
<programlisting role="php">
<![CDATA[
<?php
-# set the cache limiter to 'private'
+# A korl�toz� 'private' �rt�kre �ll�t�sa
session_cache_limiter('private');
$cache_limiter = session_cache_limiter();
-echo "The cache limiter is now set to $cache_limiter<p>";
+echo "A cache korl�toz�s �rt�ke $cache_limiter<p>";
?>
]]>
</programlisting>
@@ -1213,18 +1233,19 @@
<refentry id='function.session-cache-expire'>
<refnamediv>
<refname>session_cache_expire</refname>
- <refpurpose>Return current cache expire</refpurpose>
+ <refpurpose>Az aktu�lis cache lej�rat lek�rdez�se</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>int</type><methodname>session_cache_expire</methodname>
<methodparam
choice="opt"><type>int</type><parameter>new_cache_expire</parameter></methodparam>
</methodsynopsis>
<para>
- <function>session_cache_expire</function> returns current cache expire.
- If <parameter>new_cache_expire</parameter> is given, the current
- cache expire is replaced with <parameter>new_cache_expire</parameter>.
+ A <function>session_cache_expire</function> visszat�r az aktu�lis
+ cache lej�rati id�vel. Ha a <parameter>new_cache_expire</parameter>
+ param�tert is megadod, az �rt�k a <parameter>new_cache_expire</parameter>-ben
+ megadottra v�ltozik.
</para>
</refsect1>
</refentry>
@@ -1232,26 +1253,29 @@
<refentry id="function.session-write-close">
<refnamediv>
<refname>session_write_close</refname>
- <refpurpose>Write session data and end session</refpurpose>
+ <refpurpose>A munkamenet adatok ki�r�sa �s a munkamenet lez�r�sa</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Le�r�s</title>
<methodsynopsis>
<type>void</type><methodname>session_write_close</methodname>
<void/>
</methodsynopsis>
<para>
- End the current session and store session data.
+ Az aktu�lis munkamenet befejez�se, �s a munkamenet adatok t�rol�sa.
</para>
<para>
- Session data is usually stored after your script terminated
- without the need to call <function>session_write_close</function>, but as
- session data is locked to prevent concurrent writes only one
- script may operate on a session at any time. When using framesets
- together with sessions you will experience the frames loading one
- by one due to this locking. You can reduce the time needed to
- load all the frames by ending the session as soon as all changes
- to session variables are done.
+ A munkamenet adatok elment�sre ker�lnek a programod fut�s�nak
+ v�gezt�vel, an�lk�l, hogy megh�vn�d a
+ <function>session_write_close</function> f�ggv�nyt, de mivel
+ a munkamenet adatok z�roltak az egyid�ben �r�sok elker�l�s�re,
+ egyszerre csak egy program tud dolgozni a munkamenettel.
+ Ha kereteket haszn�lsz a weboldaladon a munkamenetekkel
+ egy�tt, �szre fogod venni, hogy a keretek egyes�vel t�lt�dnek
+ le emiatt a z�rol�s miatt. A keretek bet�lt�s�hez sz�ks�ges
+ id�t ler�vid�theted, ha r�gt�n megh�vod ezt a f�ggv�nyt a
+ programodban, amikor m�r biztos, hogy minden munkamenet
+ v�ltoztat�st elv�gezt�l.
</para>
<!-- commented out until final decision on implementation
<para>