note 11888 deleted from ref.session by yohgaki
| From: | yohgaki@php.net | Date: | Sat, 19 Jan 2002 06:41:02 +0000 |
| Subject: | note 11888 deleted from ref.session by yohgaki | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25112@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>