[ic] mv_no_session causing weird scratch behavior

Peter peter at pajamian.dhs.org
Mon Jul 10 03:34:39 EDT 2006


On 07/09/2006 10:09 AM, Grant wrote:
>> > I'm setting some scratch variables via [seti] that aren't carrying
>> > over to the next page until I add an item to the shopping cart.  Then
>> > it works as expected.  I'm using mv_no_session and when I turn that
>> > off it works as expected from the start of the session.  Does this
>> > make sense to anyone?  My browser has cookies enabled and I'm using IC
>> > 5.2.
>>
>> If you're using mv_no_session, you have no session. The scratch variables
>> are being set in a session that's never saved to disk. You can't have
>> both. :)
>>
>> Jon
> 
> 
> Can you tell me a little more about the implications of this?  I
> thought mv_no_session just relied 100% on session cookies instead of
> URL strings.  Should [set] and [seti] only start saving scratch
> variables beyond the current page once an item is added to the
> shopping cart with mv_no_session?

I think what you want is mv_no_session_id Set it in catalog.cfg like this:

ScratchDefault  mv_no_session_id  1

Peter


More information about the interchange-users mailing list