You Are Here : Forums Friday, November 21, 2008
     
Activeworx.org Forums
 
  Forum  IDS Policy Mana...  IDS Policy Mana...  Variable length capped at 256?
Previous Previous
 
Next Next
New Post 7/24/2007 8:14 PM
  krypticet
13 posts
10th Level Poster


Variable length capped at 256? 
Noticed the other day when trying to populate a variable SMTP_SERVERS that I was limited to 256 characters. As I had 316 characters (including the []'s) I had to come up with a slick solution.

I created 2 new variables:
1SMTP_SERVERS and 2SMTP_SERVERS and split the ips between those variables. I put the [ at the beginning of 1SMTP_SERVERS and the ] at the end of 2SMTP_SERVERS. I then assigned SMTP_SERVERS = $1SMTP_SERVERS,$2SMTP_SERVERS and got it to work.

Any plans for extending the length of the variable database field?

krypticet
 
New Post 7/24/2007 9:14 PM
  Jeff Dell
237 posts
www.activeworx.com
1st Level Poster


Re: Variable length capped at 256? 
The database actually has a limit of 255 for this field. This would require a schema change and we are not planning any schema changes in v2.1. Since v2.1 is about ready to be released, this will have to wait until v2.2. I have however added this to our to-do list.

Cheers,
Jeff
 
Previous Previous
 
Next Next
  Forum  IDS Policy Mana...  IDS Policy Mana...  Variable length capped at 256?
 
 
Copyright 2000-2007 by Activeworx, Inc.
All trademarks and copyrights on this page are owned by their respective owners.