You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Lo...@log-net.com on 2009/05/12 20:04:57 UTC

where are preferences stored?

I might be missing something simple, but where are the preferences stored? 
 I thought they were in a cookies, but when I take a look, all I see is:

Name:  JSPWikiUserPrefs 
Value:  %7B%22PrevQuery%22%3A%22%22%7D 

I admit. I do sometimes see the complete preferences "string" in the 
cookies, but most of the time I see only the "PrevQuery" string.  The 
preferences seem to work OK, so they must be stored somewhere.

-Lou

Re: where are preferences stored?

Posted by Dirk Frederickx <di...@gmail.com>.
Seems your user-prefs are pretty healthy :-)
It is actually an uri-encoded json string:

{"PrevQuery":""}

Try setting other user-preferences, and you'll see the json object grow.

To help debug, you can use this javascript line:

alert(decodeURIComponent("%7B%22PrevQuery%22%3A%22%22%7D"));



dirk


On Tue, May 12, 2009 at 8:04 PM, <Lo...@log-net.com> wrote:

> I might be missing something simple, but where are the preferences stored?
>  I thought they were in a cookies, but when I take a look, all I see is:
>
> Name:  JSPWikiUserPrefs
> Value:  %7B%22PrevQuery%22%3A%22%22%7D
>
> I admit. I do sometimes see the complete preferences "string" in the
> cookies, but most of the time I see only the "PrevQuery" string.  The
> preferences seem to work OK, so they must be stored somewhere.
>
> -Lou
>