Author Topic: sessionid in the address part 2  (Read 33076 times)

0 Members and 1 Guest are viewing this topic.

Offline abdoh2010

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Racing 4 Education
sessionid in the address part 2
« on: March 21, 2005, 11:42:55 PM »
I had just read this topic
http://www.4homepages.de/forum/index.php?topic=5473.0

And I understand all what in there but this topic is on "May 05, 2003"

And 2 years will change a lot so I will ask again

Is there is better solution to remove the sessionid even from the first time to visit?
I don’t want the sessionid effect on my website SEO

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: sessionid in the address part 2
« Reply #1 on: March 22, 2005, 12:22:09 AM »
Is there is better solution to remove the sessionid even from the first time to visit?
maybe u have an idea how to do so? I dont...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: sessionid in the address part 2
« Reply #2 on: March 22, 2005, 09:26:05 AM »
 8O

It will be hard to find somebody who knows...


...if even V@no doesn't.  :D
MAяTRIX


Offline abdoh2010

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Racing 4 Education
Re: sessionid in the address part 2
« Reply #3 on: March 24, 2005, 04:46:32 AM »
i made it  :D

it all begain from the apache php.ini
where you can turn on and off the session in the adress of the browser

A quick way to fix this is to disable the trans-id feature, if you have access, in php.ini by setting “session.use_trans_sid” to false. If you don’t have access to change php.ini you can add this line to the .htaccess file in your root directory:
Code: [Select]
php_flag session.use_trans_sid off
it will do the job

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: sessionid in the address part 2
« Reply #4 on: March 24, 2005, 06:04:06 AM »
Thats it!
thank you, I'll add it to the FAQ ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline abdoh2010

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Racing 4 Education
Re: sessionid in the address part 2
« Reply #5 on: March 24, 2005, 07:17:45 AM »
thats grate
i have another one you may want to add to FAQ

what if the server php.ini upload size is fix to 2m ?
how can you solve it

 :D

add another line to .htaccess
Code: [Select]
php_value upload_max_filesize "300M"
and your upload size will be 300 mega  :mrgreen:

Offline maruan

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: sessionid in the address part 2
« Reply #6 on: May 03, 2005, 05:14:38 PM »
hello!

in version 1.7.1 I am a little confused with the sessionid: In 1.7 with cookies activated in the browser the sessionid wasn't displayed in the address, but in 1.7.1 it is always displaying (also with this flag in htaccess).

Is this behavior because of the change of session handling so with 1.7.1 it isn't possible to hide the sessionid or I am the only one?

thanks, maruan.

if you wuld like to try: http://kunden.citimage.com/4images171/

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: sessionid in the address part 2
« Reply #7 on: January 02, 2006, 10:52:24 AM »
i made it  :D

it all begain from the apache php.ini
where you can turn on and off the session in the adress of the browser

A quick way to fix this is to disable the trans-id feature, if you have access, in php.ini by setting “session.use_trans_sid” to false. If you don’t have access to change php.ini you can add this line to the .htaccess file in your root directory:
Code: [Select]
php_flag session.use_trans_sid off
it will do the job


hhmmm i don´t have a .htaccess file in my root.
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: sessionid in the address part 2
« Reply #8 on: January 02, 2006, 02:19:20 PM »
then create one... (o:

Sorry mache mal auf deutsch weiter, aber bedenke das es nicht bei jedem Server klappt!

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: sessionid in the address part 2
« Reply #9 on: January 02, 2006, 02:36:06 PM »
Ach das kann ich einfach so machen??? OK, wusste ich nicht. Wenn mein Session Problem gelöst ist wollte ich das auch machen das man die session id nicht in der Browser Zeile hat.
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: sessionid in the address part 2
« Reply #10 on: January 06, 2006, 08:01:25 PM »
Hab da nochmal ne andere Frage.

Wie erstelle ich diese .htaccess Datei? Nehme ich da einfach Notepad, speichere die Zeile da drin und schiebe das Ding dann einfach auf den Server???

Ist vielleicht ne doofe Frage aber ich habe echt keine Ahnung davon....
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: sessionid in the address part 2
« Reply #11 on: January 06, 2006, 08:12:00 PM »
... im Prinzip ist das richtig ...
Nur bekommst du eine Datei im Notepad nur mit Extension gespeichert. Du solltest also folgendermaßen vorgehen :

- Notepad öffnen -> neue Datei
- Inhalt deiner .htaccess-Datei nach deinen Erfordernissen eingeben ... siehe diverse Beispiele ...
- Datei speichern zunächst als .htaccess.txt Datei , Notepad schließen
- Im Windows-Explorer diese Datei aufsuchen und nun umbenennen als .htaccess ohne jegliche Extension (txt-Extension löschen) !
- nun kannst du deine .htaccess-Datei in den entsprechenden Ordner auf deinen Server schieben

mawenzi
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: sessionid in the address part 2
« Reply #12 on: January 06, 2006, 08:19:31 PM »
Hi,

danke für die Antwort. Wenn ich allerdings das.txt entfernen möchte heißt es immer "Bitte geben sie einen Dateinamen ein". Aber ist nicht ganz so tragisch, habe die Änderungen von hier vorgenommen. Hoffe bloß das klappt auch weil das wohl eher für die 1.7.1 Version ist. Ich nutze aber die 1.7 Version.
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline edelstoff

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://www.bwfotos.de
Re: sessionid in the address part 2
« Reply #13 on: January 20, 2006, 12:13:58 PM »
Das Ding mit der .htacces funktioniert bei mir nicht, ich möchte aber unbedingt die Session ID abschalten.

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: sessionid in the address part 2
« Reply #14 on: January 20, 2006, 12:59:38 PM »
@edelstoff
... du hast deine 4images-Galerie komplett in einem Frame zu laufen ...
... das gibt Probleme mit cookies, sess_id , da deine Galerie als Drittanbieter vom Browser gesehen wird ...
... und Standardeinstellung bei IE ... cookies von Drittanbietern werden nicht zugelassen ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...