note 11888 added to ref.session.php

From: Date: Mon, 12 Mar 2001 10:56:44 +0000
Subject: note 11888 added to ref.session.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-12295@lists.php.net to get a copy of this message
I found that transparent session-tracking was making problems when using JavaScript "pseudo" URLs on a page. The following will lead to a JavaScript error if the user does not have cookies enabled and you are running a session: <a href="javascript:doSomething()">click</a> the workaround is this: (note the single quotes - this is important) <a href='' onClick="doSomething(); return false;">click</a> http://www.php.net/manual/en/ref.session.php

« previous php.notes (#12295) next »