tag:forum.selfhtml.org,2005:/self PHPSESSID in den links – SELFHTML-Forum 2007-07-11T04:35:25Z https://forum.selfhtml.org/self/2007/jul/11/phpsessid-in-den-links/1142435#m1142435 andreas dobedo@gmail.com 2007-07-11T03:25:53Z 2007-07-11T03:25:53Z PHPSESSID in den links <p>Hi,</p> <p>bin absoluter Anfänger.<br> Ich habe ein PHP Forum auf meiner Seite installiert.<br> Jetzt wollte ich einfach den Quellcode mir ansehen und<br> ich sehe, dass bei den Links immer eine PHPSessionID drangehängt wird, obwohl das in meinem Originalcode nicht drin ist.<br> Also z.B. so:<br> <a href="/location.php?PHPSESSID=95d72566eb325cee46bb630793e42677"></p> <p>Und das bei jedem Link.</p> <p>Ist es möglich, diese PHPSessID wegzubekommen?<br> Sprich, dass ich auch im Quellcode die Links so sehen kann wie sie sind, nämlich <a href="/location.php"><br> ?</p> <p>Danke<br> andreas</p> https://forum.selfhtml.org/self/2007/jul/11/phpsessid-in-den-links/1142436#m1142436 globe selfhtml@rodneyrehm.de http://rodneyrehm.de 2007-07-11T04:35:25Z 2007-07-11T04:35:25Z PHPSESSID in den links <p>n'abend,</p> <blockquote> <p>ich sehe, dass bei den Links immer eine PHPSessionID drangehängt wird, obwohl das in meinem Originalcode nicht drin ist.<br> Also z.B. so:<br> <a href="/location.php?PHPSESSID=95d72566eb325cee46bb630793e42677"></p> </blockquote> <p>Das bewirkt die Direktive <a href="http://www.php.net/manual/de/ref.session.php#ini.session.use-trans-sid" rel="nofollow noopener noreferrer">session.use_trans_sid</a>, welche bei dir offenbar aktiviert ist.</p> <p>Folgendes dürfte dir bei deinem Vorhaben weiterhelfen:<br> <a href="http://www.php.net/session" rel="nofollow noopener noreferrer">PHP/Sessions</a><br> <a href="http://php.net/ini_set" rel="noopener noreferrer">PHP/Sinstellungen ändern</a></p> <blockquote> <p>Ist es möglich, diese PHPSessID wegzubekommen?</p> </blockquote> <p>recht einfach sogar: <code class="language-php"><span class="token function">ini_set</span><span class="token punctuation">(</span><span class="token string single-quoted-string">'session.use_trans_sid'</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">;</span></code></p> <p>weiterhin schönen abend...</p> <div class="signature">-- <br> Freundlich wie man war, hat man mir Großbuchstaben geschenkt.<br> sh:( fo:# ch:# rl:| br:> n4:& ie:{ mo:} va:) de:] zu:} fl:( ss:? ls:[ js:| </div>