« Return to Thread: Re: User Preferences not getting saved

Re: User Preferences not getting saved

by TruptiP :: Rate this Message:

Reply to Author | View in Thread

Hi,

I faced same issue for my JSPWiki instance.

Reason for my problem is =====

BaseURL of JSPWiki is -> http://ServerName.com:8080/JSPWiki/ 
 
But when we access JSPWiki it is referred as -> http://ServerName.com/JSPWiki 

I have setup redirects in Apache configuration so that

Redirect /index.htm http://ServerName.com/JSPWiki

and again
http://ServerName.com/JSPWiki  -> http://ServerName.com:8080/JSPwiki

So even people access http://ServerName.com/JSPWiki it must redirect to JSPWiki base URL

So cookies are stored with the domain name ServerName.com
 
However, JSPWiki try to access preferences from cookie with domain name ServerName.com:8080.
 
To overcome this problem , I updated apache configuration. And then user preferences started working for me.

Redirect /index.htm http://ServerName.com:8080/JSPWiki


Please check with your configurations.
I hope this will help you.

Regards,
Trupti Patil

Bhavani-8 wrote:
Yes it happens on IE and Firefox and for other users as well.

-Bhanu

--- On Wed, 7/8/09, Janne Jalkanen <janne.jalkanen@ecyrd.com> wrote:

From: Janne Jalkanen <janne.jalkanen@ecyrd.com>
Subject: Re: User Preferences not getting saved
To: jspwiki-user@incubator.apache.org
Date: Wednesday, July 8, 2009, 12:27 AM


Does this happen on other browsers or other users as well?

/Janne

On 7 Jul 2009, at 21:14, Bhavani wrote:

> Hi,
>
> Can you please let me know if there is a workaround to fix this 
> issue or if there is some configuration I am missing ..
>
> Thanks,
> Bhanu ..
>
> --- On Sat, 6/27/09, Bhavani <bhanu0608@yahoo.com> wrote:
>
> From: Bhavani <bhanu0608@yahoo.com>
> Subject: Re: User Preferences not getting saved
> To: jspwiki-user@incubator.apache.org
> Date: Saturday, June 27, 2009, 12:04 AM
>
> I tried deleting my browser cookies, opened the browser session 
> again and tried changing the name. But it still does not work.
>
> -Bhanu
>
> --- On Fri, 6/26/09, Harry Metske <harry.metske@gmail.com> wrote:
>
> From: Harry Metske <harry.metske@gmail.com>
> Subject: Re: User Preferences not getting saved
> To: jspwiki-user@incubator.apache.org
> Date: Friday, June 26, 2009, 11:37 PM
>
> I think this can be solved by removing your old JSPWiki cookies.
>
> /Harry
>
>
> 2009/6/26 Bhavani <bhanu0608@yahoo.com>
>
>> Hi,
>>
>> We installed jspwiki (version 2.8.3) and started working on it.
>> Works great but recently noticed that when I change the name in the 
>> 'User
>> Preferences' tab and try to save it, it seems like it is saving it 
>> and
>> redirects me to the wiki page. But when I go back to the 'User 
>> preferences'
>> page, I see the old value.
>>
>> I tried this both on Firefox and IE. Please let me know if there is
>> resolution for this issue.
>>
>> Thanks,
>> Bhanu:-)
>>
>>
>>
>>
>>
>
>
>
>
>
>



 « Return to Thread: Re: User Preferences not getting saved