Search Engines and Sessions(Cross Posted to comp.lang.php)

From: Date: Sun, 21 Jul 2002 04:49:20 +0000
Subject: Search Engines and Sessions(Cross Posted to comp.lang.php)
Groups: php.general 
Request: Send a blank email to php-general+get-108693@lists.php.net to get a copy of this message
Hi, I am worried about search engines and sessions. If the UA doesn't support cookies the session id is passed through the urls. Search engines won't spider pages with a ? in the url because page.php?sid=bdf4f91bcc71443cd251a7d3eed05c9c and page.php?sid=5a547f86ea14186942d0305e352d9e41 would be considered different pages(The search engines robot could go into a continuos loop). I only use sessions on all pages but they do nothing if the user hasn't signed in. what would be a good way to not start the session id in the url if the person had not logged in anyway? The problem is that if you haven't started a session you can't check for session variables. Thanks, -- JJ Harrison webmaster@tececo.com www.tececo.com

« previous php.general (#108693) next »