Whoops, forgot to copy the list again.

---------- Forwarded message ----------
From: BenRifkah Bergsten-Buret <[EMAIL PROTECTED]>
Date: Thu, May 8, 2008 at 3:23 PM
Subject: Re: [Mason] Re turning a *Variable* From Ajax?
To: Amiri Barksdale <[EMAIL PROTECTED]>


On Thu, May 8, 2008 at 3:18 PM, Amiri Barksdale
<[EMAIL PROTECTED]> wrote:
> I did not get this question answered. I came up with a solution, but I don't
> think it's the best:
>
> I put $js_enabled as a  global variable in my handler.pl, and now my
> server-side script just sets it.

The problem with this solution is that it is persistent and global for
everyone that hits your site.  If I visit a page and have JavaScript
enabled then $js_enabled will be set.  If someone else comes along and
hits your site the server will think that they have JavaScript enabled
as well.

-- Ben

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to