Forum Moderators: coopster

Message Too Old, No Replies

OOP templates and SE

Does SE follow such links?

         

henry0

1:48 pm on Nov 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Within a site I have a section built out of user generated directory.
Each dir has an Index.php (template and OOP based)
Those indexes when created are open and written with their corresponding ID
Obviously that ID is the only difference in between all indexes.

In order to grab all components’ content from my DB
I need to pass that ID as a SESSION.

So the content only exists when an index is parsed

… Still with me? …

Now the question is:
Does a SE spider follow a link leading to content generated out of passing a session?

mcibor

7:59 pm on Nov 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, but only if session is passed via url - spiders don't use cookies.

so url for spiders should look:

<a href="page.php?<?php echo strip_tags(SID);?>">click
here</a>

Hope this helps.
Michal

PS. There was a post somewhere on WebmasterWorld about the spiders.

henry0

8:32 pm on Nov 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks
So I need to find another solution.

my URLs are clean and written to DB when dir is created and my sessions are not url based