Arquivo da categoria ‘ASP Classic’

aspSmartUpload.dll q&a and usage @ ASPSmartUpload.net.

Anúncios

UTF-8 with ASP

Publicado: 22/02/2013 em ASP Classic

In ASP and HTML there are a couple of things we must to do serve up UTF-8:

ASP CODE:

Response.ContentType = "text/html"
Response.AddHeader "Content-Type", "text/html;charset=UTF-8"
Response.CodePage = 65001
Response.CharSet = "UTF-8"

and the following HTML META tag:

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />

 

UTF-8 with ASP.

Converter Número para Extenso – Laboratório de scripts ASP – iMasters Fóruns.

 

GPC Project Details/OWASP Classic ASP Security Project - OWASP

GPC Project Details/OWASP Classic ASP Security Project – OWASP.

Classic ASP: Security is Painful – Another IIS Blog : The Official Microsoft IIS Site.

Debugging Script Objects in ASP Pages.

MapPath()

Publicado: 14/10/2011 em ASP Classic, ASP.NET, C#

Para obter o caminho absoluto de um arquivo no ASP.NET use:

  • No code-behind use HttpContext.Current.Server.MapPath() 
  • Em um Handlers context.Server.MapPath().

OBS: Isto equivale no ASP Classic ao Server.MapPath().

http://msdn.microsoft.com/en-us/library/system.web.httpserverutility.mappath(v=VS.90).aspx