Re: How to specify cookie name

2012-10-02 Thread Michael Zhilin
Hi,

We don't use post-review at all, all review requests are created by cron 
job what invokes custom command to fetch new commits from SVN and create 
review requests. But it may be good to customize cookie name in post-review 
too. :)

Thank you,
 Michael

On Tuesday, October 2, 2012 4:31:56 AM UTC+4, Christian Hammond wrote:

 Typically, a setup like this involves multiple subdomains.

 Clearly the cookies aren't respecting subdirectories. That should be 
 figured out. We'd need the session stuff to use the SITE_ROOT as the cookie 
 path.

 Changing cookie names won't really help you, because post-review actually 
 looks specifically for the rbsessionid cookie.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Mon, Oct 1, 2012 at 2:25 PM, Michael Zhilin miz...@gmail.comjavascript:
  wrote:

 Hi,

 I've installed two instances on same server thanks to virtualenv. But I 
 faced issue with cookies. I can't work on both servers simultaneously 
 because cookie name and host names are same for both environments. I had 
 quick look at setting.py and found out that COOKIE_NAME variable is defined 
 after setting_local initialization. If i'm correct, it means that I can't 
 override cookie name in setting_local.py files. 

 Is there another way to specify cookie name? If not, is it defect?

 Thank you,
  Michael 

 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard...@googlegroups.com javascript:
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en




-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: How to specify cookie name

2012-10-01 Thread Christian Hammond
Typically, a setup like this involves multiple subdomains.

Clearly the cookies aren't respecting subdirectories. That should be
figured out. We'd need the session stuff to use the SITE_ROOT as the cookie
path.

Changing cookie names won't really help you, because post-review actually
looks specifically for the rbsessionid cookie.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Oct 1, 2012 at 2:25 PM, Michael Zhilin miz...@gmail.com wrote:

 Hi,

 I've installed two instances on same server thanks to virtualenv. But I
 faced issue with cookies. I can't work on both servers simultaneously
 because cookie name and host names are same for both environments. I had
 quick look at setting.py and found out that COOKIE_NAME variable is defined
 after setting_local initialization. If i'm correct, it means that I can't
 override cookie name in setting_local.py files.

 Is there another way to specify cookie name? If not, is it defect?

 Thank you,
  Michael

 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en