Y yaya8163 Unregistered / Unconfirmed GUEST, unregistred user! 2006-02-16 #1 用DELPHI7编写ISAPI,如何实现ASP的session功能 就是如何维护每个登陆用户的变量
Y youxin Unregistered / Unconfirmed GUEST, unregistred user! 2006-02-27 #2 function Twm.getsession(cname:string):string; begin Result := Request.CookieFields.Values[cname]; end; procedure Twm.setsession(cname, cvalue:string); begin Response.SetCustomHeader('Set-Cookie', cname + '=' + cvalue); end;
function Twm.getsession(cname:string):string; begin Result := Request.CookieFields.Values[cname]; end; procedure Twm.setsession(cname, cvalue:string); begin Response.SetCustomHeader('Set-Cookie', cname + '=' + cvalue); end;