NetTalk Central

Author Topic: Truncated Session Values  (Read 3295 times)

Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Truncated Session Values
« on: August 30, 2016, 12:10:03 PM »
In NT8 i use a technique to save filters into a Sessionvalue that gets used in a related Browse where the filter is just set with the sessionvalue.
It has worked great for some time.

I am seeing more instances where the sessionvalue appears to get truncated, so my filter is truncated.
Its tricky to  duplicate, it seems to work initially then as i change the sessionvalue the problem can occur.
(it might be aggravated by the serverstate saves!? as i see it more when i am testing)

in 9.06 I noticed this in version history
Quote
Fix: Session Values could be not-updated if value changed from very short to very long

Bruce could you shed some light on how long this issue was present - was it just new in 9 or was the issue pre-existing, as it smells similar to  my experience. Might some variation exist in NT8? whats very long vs very short?

Today, I have taken to deleting the session value before setting it, as my work-around which I think helps for my specific cases, time will tell., but obviously session values are used all over the place...

I am posed to update this to NT9, but for various reasons, not yet. I am wondering if there was a Fix that could be retrofitted for NT8

tia
poul

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11245
    • View Profile
Re: Truncated Session Values
« Reply #1 on: August 31, 2016, 05:35:41 AM »
Hi Poul,

>>  whats very long vs very short?

I think it was around the 250 chars mark - small is less than that, large is greater than that.

>> was it just new in 9 or was the issue pre-existing,

I think it was new in NT9 - the code in NT8 is a bit different.

cheers
Bruce