URL's without session ID - no success with htaccess and ini_set
| 7:16 pm on Jul 22, 2003 (gmt 0)|
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
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!
| 8:48 pm on Jul 22, 2003 (gmt 0)|
as written in the online manual:
So you canīt modify this setting with your PHP version.
See [php.net...] for further information.
| 4:53 pm on Jul 23, 2003 (gmt 0)|
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,
| 4:55 pm on Jul 23, 2003 (gmt 0)|
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!
| 8:31 pm on Jul 23, 2003 (gmt 0)|
the UA idea is perfect! Thanks a lot! :-)
All the best,