Re: Passing or not passing SID in links etc

From: Date: Mon, 22 Dec 2003 07:14:23 +0000
Subject: Re: Passing or not passing SID in links etc
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-173132@lists.php.net to get a copy of this message
No, that will work fine. Just having ? at the end of the URL just means an empty querystring - same as if you had nothing there. Regards Jasper Bryant-Greene Cabbage Promotions http://fatalnetwork.com/ jasp@fatalnetwork.com Gerard Samuel wrote:
Im currently modifying templates to include the SID constant, for the few set of users who are rejecting session cookies. If I have an url like -> <a href="http://www.foo.com/">Go Home</a> For users who are rejecting cookies the url looks like -> <a href="http://www.foo.com/?PHPSISSID=1234">Go Home</a> For users who are accepting cookies, the url looks like -> <a href="http://www.foo.com/?">Go Home</a> My question is, are there any known problems with just having '?' at the end of urls/links? Yes, I can do an if/else, but for simple things like this in the templates, but it makes it look more like code than html, and I rather stay away from it. The simpler the template the better. Thanks for your advise.


« previous php.general (#173132) next »