RSS 2.0 Feed
2005-09 Entries
摘要:  主页2:添加了特价,推荐和最新商品   购物车界面   允许非会员购物:   申明:本系统界面风格参考阿米购物网(PHP),部分图片也来自该站点,无侵权意图,最终发布不会使用这些图片...[阅读全文]

posted @ | Feedback (7) | Filed Under [ 网上商店,网上商城开发 ]

摘要:function GetCookieVal(offset)//获得Cookie解码后的值{var endstr = document.cookie.indexOf (";", offset);if (endstr == -1)endstr = document.cookie.length;return unescape(document.cookie.substring(offset, endstr));}function SetCookie(name, value)//设定Cookie值{var expdate = new Date();var argv = SetCookie.arguments;var argc = SetCookie.arguments.length;var expires = (argc > 2) ? argv[2] : null;var path = (argc > 3) ? argv[3] : null;var domain = (argc > 4) ? argv[4] : null;var secure = (argc > 5) ? argv[5] : false;if(expires!=null) expdate.setTime(expdate.getTime() + ( expires * 1000 ));document.cookie = name + "=" + escape (value) +((expires == null) ? "" : ("; expires="+ expdate.toGMTString()))+((path == null) ? "" : ("; path=" + path)) +((domain == null) ? "" :......[阅读全文]

posted @ | Feedback (20) |

摘要:现有如下代码: RemotingConfiguration.Configure(...)    RemoteObject refObj = new RemoteObject();  //cf为Remoting承载远程组件  BusiObject o = refObj.GetObject("Name") as BusiObject;  //返回对象为EnterpriceService  o.TestMethod();  //此处会出错 就此问题,微软已有解答:Exposing ServicedComponents As a Remoting Endpoint from a COM+ Dllhost.exe Process Is Not Supported http://support.microsoft.com/default.aspx?scid=kb;en-us;322627 ? You can host your ServicedComponents in IIS by selecting uses SOAP on the Activation tab of the properties for the COM+ application. ? You can use a custom host that hosts the ServicedComponents from a COM+ library application. 其实将组件承载在Library模式的COM+应用里即可...[阅读全文]

posted @ | Feedback (1) |