Applied asp cookie patch submitted by Jan van der Lugt
This commit is contained in:
parent
7d903930bf
commit
2e5b85e798
2 changed files with 4 additions and 1 deletions
|
@ -46,6 +46,9 @@ namespace Dlrsoft.Asp.BuiltInObjects
|
|||
else
|
||||
cookie = _cookiecollection[(string)key];
|
||||
|
||||
if (cookie == null)
|
||||
return "";
|
||||
|
||||
if (_request)
|
||||
return new AspReadCookie(cookie);
|
||||
else
|
||||
|
|
|
@ -50,7 +50,7 @@ namespace Dlrsoft.Asp
|
|||
|
||||
public override string ToString()
|
||||
{
|
||||
if (_cookie == null) return null;
|
||||
if (_cookie == null) return "";
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
bool first = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue