Re: [phplib] $sess->mode='post' workaround From: Max Derkachev (kot <email protected>)
Date: 09/21/00

"Milen A. Radev" wrote:

> Yes, there is another way but I wouldn't recommend it to anyone - to make
> all your links images. Thus you
> can make those images submit buttons in forms with "ACTION" the page you
> want to link to. And in those
> forms there would be a hidden field - the session ID.
> This is not convenient or practical - I just wanted to mention it.

Yes, I thought of such a trick, but It's neither convenient nor acceptable. The
main reason I've decided to mess with post method is to allow search spiders
index my site with sessions enabled. With get method there could be hundreds of
links to the same page, since the links would contain retired sessions id's.
While it's not so bad (i mean hundreds of links :) ) it could be a mess, and
something could not be reached at all because of long listings span several
pages.
A trick with forms does not acceptable also, cause spiders won't submit forms.
But simple links would be followed by spiders, while humans with not so old
browsers with javascript support (almost 100% of real clients) would submit
forms generated on the fly. The overhead is that a lot of unused sessions would
be created when a spider hits a page. Well, I guess it's not a big problem.

--
Best regards,
Max A. Derkachev mailto:kot <email protected>
Symbol-Plus Publishing Ltd.
phone: +7 (812) 265-0054, 265-1228, phone/fax: 567-8775
http://www.Books.Ru -- All Books of Russia

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>