cvs: phpdoc-de /reference/session reference.xml
| From: | Martin Samesch | Date: | Fri, 31 Jan 2003 18:10:10 +0000 |
| Subject: | cvs: phpdoc-de /reference/session reference.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-483@lists.php.net to get a copy of this message | ||
samesch Fri Jan 31 13:10:10 2003 EDT
Modified files:
/phpdoc-de/reference/session reference.xml
Log:
shit, wasn't ready for commit; now in sync with EN Rev. 1.27 (not completely translated yet)
Index: phpdoc-de/reference/session/reference.xml
diff -u phpdoc-de/reference/session/reference.xml:1.12
phpdoc-de/reference/session/reference.xml:1.13
--- phpdoc-de/reference/session/reference.xml:1.12 Fri Jan 31 12:31:51 2003
+++ phpdoc-de/reference/session/reference.xml Fri Jan 31 13:10:10 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<!-- EN-Revision: 1.27 Maintainer: samesch Status: ready -->
<reference id="ref.session">
<title>Session Funktionen</title>
@@ -81,18 +81,8 @@
transportiert werden und treffen Sie zusätzliche Schutzmaßnahmen
-- in der Regel bezahlen Sie dafür mit einer geringeren
Benutzerfreundlichkeit.
-######################
-###################
-###############
-###########
-#######
- Wenn Sie z.B. Benutzer vor ... simple social engineering tactics
-#######
-###########
-###############
-###################
-######################
- schützen wollen, müssen Sie session.use_only_cookies altivieren.
+ Wenn Sie z.B. Benutzer vor "simple social engineering tactics"
+ schützen wollen, müssen Sie session.use_only_cookies aktivieren.
Cookies müssen dann auf jeden Fall aktiviert sein.
</para>
<para>
@@ -107,16 +97,6 @@
im Klartext über das Netzwerk übertragen. Hier ist die Lösung,
auf Ihrem Server SSL zu implementieren und die Verwendung für
Ihre Benutzer obligatorisch zu machen.
-
-There are several ways to leak an existing session id to third
-parties. A leaked session id enables the third party to access all
-resources which are associated with a specific id. First, URLs
-carrying session ids. If you link to an external site, the URL
-including the session id might be stored in the external site's
-referrer logs. Second, a more active attacker might listen to your
-network traffic. If it is not encrypted, session ids will flow in
-plain text over the network. The solution here is to implement SSL
-on your server and make it mandatory for users.
</para>
</section>
@@ -125,8 +105,6 @@
&no.requirement;
<note>
<para>
- Optional können Sie
-
Optionally you can use shared memory allocation (mm), developed
by Ralf S. Engelschall, for session storage. You have to
download <ulink url="&url.mm;">mm</ulink> and install it. This
@@ -286,8 +264,8 @@
</caution>
<example>
<title>
- Registrierung einer Variablen bei aktiviertem
- <link
linkend="ini.register-globals"><literal>register_globals</literal></link>
+ Registrierung einer Variablen bei aktiviertem <link
+
linkend="ini.register-globals"><literal>register_globals</literal></link>
</title>
<programlisting role="php">
<![CDATA[
@@ -313,15 +291,15 @@
wurden.
</para>
<para>
-+ There is a defect in PHP 4.2.3 and earlier.
- Wenn Sie eine neue Session-Variable mittels
+ Es gibt einen Fehler in PHP 4.2.3 und früheren Versionen. Wenn
+ Sie eine neue Session-Variable mittels
<function>session_register</function> registrieren,
referenzieren der Eintrag im globalen Bereich und der
<varname>$_SESSION</varname>-Eintrag bis zum nächsten
<function>session_start</function> nicht den selben Wert. D.h.
eine Änderung an der neu registrierten globalen Variablen wird
nicht vom <varname>$_SESSION</varname>-Eintrag widergespiegelt.
-+ This has been corrected in PHP 4.3.
+ Dies wurde in PHP 4.3 korrigiert.
</para>
</section>
@@ -349,54 +327,30 @@
Session-ID direkt an die URLs.
</para>
<para>
- Falls PHP mit <link
- linkend="install.configure.enable-trans-sid">
- <literal>--enable-trans-sid</literal></link> kompiliert wurde,
- kann es dies transparent machen. Diese Option ist ab PHP 4.2
- immer aktiviert. Wenn Sie diese Option aktivieren, werden
- relative URIs automatisch geändert, sodass sie die Session-ID
- enthalten. Alternativ können Sie die Konstante
- <literal>SID</literal> verwenden, die definiert wird, falls vom
- Client keinen passendes Cookie gesendet wurde.
- <literal>SID</literal> hat entweder die Form
- <literal>session_name=session_id</literal> oder ist eine leere
- Zeichenkette.
-- PHP is capable of doing this transparently if compiled with <link
-- linkend="install.configure.enable-trans-sid">
-- <literal>--enable-trans-sid</literal></link>. This option is always
-- enabled in PHP 4.2 and later. If you enable this option, relative
-URIs
-- will be changed to contain the session id automatically.
-Alternatively,
-- you can use the constant <literal>SID</literal> which is defined, if
-the
-- client did not send the appropriate cookie. <literal>SID</literal> is
-- either of the form <literal>session_name=session_id</literal> or is an
-- empty string.
-+ PHP is capable of transforming links transparently. Unless you are
-using
-+ PHP 4.2 or later, you need to enable it manually when building PHP.
-+ Under UNIX, pass <link linkend="install.configure.enable-trans-sid">
-+ <literal>--enable-trans-sid</literal></link> to configure. If this
-build
-+ option and the run-time option session.use_trans_sid are enabled,
-+ relative URIs will be changed to contain the session id automatically.
+ PHP ist in der Lage, Links transparent umzuwandeln. Falls Sie
+ nicht PHP 4.2 oder höher verwenden, müssen Sie das beim
+ Übersetzen von PHP manuell aktivieren. Unter UNIX müssen Sie dazu
+ configure mit <link linkend="install.configure.enable-trans-sid">
+ <literal>--enable-trans-sid</literal></link> aufrufen. Wenn diese
+ Option und die Laufzeit-Option session.use_trans_sid aktiviert
+ sind, werden relative URIs automatisch so geändert, dass sie die
+ Session-ID enthalten.
<note>
<para>
- Die &php.ini;-Anweisung
- <link linkend="ini.arg-separator.output">arg_separator.output</link>
- ermöglicht es, die Trennung von Argumenten anzupassen.
-+ For full XHTML conformance, specify &amp; there.
+ Die &php.ini;-Anweisung <link
+ linkend="ini.arg-separator.output">arg_separator.output</link>
+ ermöglicht es, die Trennung von Argumenten anzupassen. Geben
+ Sie dort für volle XHTML-Konformität &amp; an.
</para>
</note>
-+ </para>
-+ <para>
-+ Alternatively, you can use the constant <literal>SID</literal> which
-is
-+ always defined. If the client did not send an appropriate session
-+ cookie, it has the form <literal>session_name=session_id</literal>.
-+ Otherwise, it expands to an empty string. Thus, you can embed it
-+ unconditionally into URLs.
+ </para>
+ <para>
+ Alternatively, you can use the constant <literal>SID</literal>
+ which is always defined. If the client did not send an
+ appropriate session cookie, it has the form
+ <literal>session_name=session_id</literal>. Otherwise, it
+ expands to an empty string. Thus, you can embed it
+ unconditionally into URLs.
</para>
<para>
Das folgende Beispiel demonstriert, wie eine Variable registriert