Welcome to WebmasterWorld Guest from 184.108.40.206 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
session.use_only_cookies URL's without session ID - no success with htaccess and ini_set captainhannes
Users can login at my site, but I want to avoid session ID's in the URL's due optimizing for search engines.
I already tried
ini_set("session.use_only_cookies", "on"); ini_set("session.use_only_cookies", "1"); ini_set("session.use_only_cookies", 1); or in .htaccess php_flag session.use_only_cookies on but nothing works. Any ideas why everything fails? (I have only webspace, so I don't have access to php.ini) (PHP4.1.2 on Linux)
Thank you all very much in advance!
as written in the online manual:
So you canīt modify this setting with your PHP version.
...] for further information. php.net
Thank you Professor :-)
I missed this little detail about the version somehow.
Currently I do not start the session when the reverse lookup of the IP matched to /google/, so this works quite fine, but it fails for other search engines.
Well, I think I must wait until my ISP upgrades the version to 4.3.0 ...
All the best,
i guess you'll have to match the other search engines too i'm afraid...
or how about matching users? just match all the browsers you can think of - and add in X11, XP, ME, 98, MacOS etc... that should cover just about all human user's UA strings!
the UA idea is perfect! Thanks a lot! :-)
All the best,