So if I set this value, then each server instance running my application
will use the same key?  If so, that solves my problem.

On Mon, Oct 15, 2012 at 2:13 PM, Levi Hoogenberg
<levihoogenb...@gmail.com>wrote:

> You're looking for the Stripes.EncryptionKey parameter (see
> http://www.stripesframework.org/display/stripes/Configuration+Referencefor 
> details).
>
> Regards,
>   Levi
>
> 2012/10/15 Adam Stokar <ajsto...@gmail.com>
>
>> Hi everyone,
>>
>> I'm working in a cloud environment where we are constantly adding /
>> removing web servers based on the current load at any given time.  In order
>> to avoid people getting logged out randomly throughout the day, we decided
>> to store our sessions in Redis (an in memory cache) so that requests can go
>> to any server and session information will be retrieved correctly.  The
>> problem is with the Stripes CryptoUtil.  I see this warning all over the
>> logs
>>
>> CryptoUtil:165 - Input was not encrypted with the current encryption key:
>> 4qaa5tWDlC0=
>>
>> I'm assuming its happening because the server that generates the
>> encryption key is not guaranteed to handle subsequent requests.  Is there
>> any configuration I can use to also store this encryption key in the cache
>> and have Stripes look there rather than in the web servers memory?
>>
>> Thanks,
>>
>> Adam
>>
>>
>> ------------------------------------------------------------------------------
>> Don't let slow site performance ruin your business. Deploy New Relic APM
>> Deploy New Relic app performance management and know exactly
>> what is happening inside your Ruby, Python, PHP, Java, and .NET app
>> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
>> http://p.sf.net/sfu/newrelic-dev2dev
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to