I was thinking a global variable would be tied to users because that's  
precisely how I create a global User object for individual user  
sessions, but yeah, this js_enabled variable is not tied to sessions  
or anything in the same way.

Amiri


On May 8, 2008, at 6:23 PM, BenRifkah Bergsten-Buret wrote:

> 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