|
@@ -19,7 +19,7 @@ func (this *Session) GetString(name string, def string) string {
|
|
|
func (this *Session) SetString(name string, value string) {
|
|
|
isset := this.IsSetString(name)
|
|
|
this.v.String[name] = value
|
|
|
- if !(isset == false && value == "") {
|
|
|
+ if isset || value != "" {
|
|
|
this.c = true
|
|
|
}
|
|
|
}
|