
ASP.NET
cqulyk
这个作者很懒,什么都没留下…
展开
-
一般处理程序中使用Session
在一般处理程序中使用Session必须要继承IRequiresSessionState接口 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.SessionState; namespace 验证码 { /// /// Sum原创 2015-02-18 21:23:26 · 780 阅读 · 1 评论 -
ASPX获取客户端IP地址
private string GetIpAddress(HttpContext context) { //throw new NotImplementedException(); if (context.Request.ServerVariables["HTTP_VIA"] != null) {原创 2015-03-04 10:31:41 · 2909 阅读 · 1 评论 -
生成验证码代码
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Drawing.Imaging; using System.Drawing.Drawing2D原创 2015-03-04 10:30:49 · 515 阅读 · 0 评论 -
ajaxFileUpload向ASPX后台上传文件
在使用 $.ajaxFileUpload({ url: "../../Others/UploadFileHandler.ashx", fileElementId: "fileToBeUpload", dataType:"text", su原创 2015-03-07 18:02:08 · 2460 阅读 · 0 评论