sloppycode.net
ASP Reference
Application
Application_OnEnd
Application_OnStart
Contents
Lock
StaticObjects
Unlock
Error
ASPCode
ASPDescription
Category
Column
Description
File
Line
Number
Source
ObjectContext
OnTransactionCommit
OnTransactionsAbort
SetAbort
SetComplete
Request
BinaryRead
Certificate
Cookies
Form
QueryString
ServerVariables
TotalBytes
Response
AddHeader
AppendToLog
BinaryWrite
Buffer
CacheControl
Charset
Clear
ContentType
Cookies
End
Expires
ExpiresAbsolute
Flush
isClientConnected
PICS
Redirect
Write
Server
CreateObject
Execute
GetLastError
HTMLEncode
MapPath
ScriptTimeout
Transfer
URLEncode
Session
Abandon
CodePage
Contents
Contents.Remove
Contents.RemoveAll
LCID
OnEnd
OnStart
SessionID
StaticObjects
Timeout
Response.ContentType = [string content type]
Enables you to specfy the content type for the page, for example 'Response.ContentType = "image/jpeg"'. This should be set before the '<html>' tag.
Common types include "text/plain", "image/jpeg", "image/gif".
ContentType can also be set to "Application", which enables you to set a subtype according to the application you want to use, such as
'Response.ContentType = "application/x-msexcel" ' for MS Excel and
'Response.ContentType = "application/vnd.ms-powerpoint" ' for MS Powerpoint.
› Home
› C#
› Snippets
› Articles
› Tools
› Taglines
› ASP
› Dictionary Object
› FSO
› Unix cheat sheet
› Gaming
› CSS
› Yak
› Umbraco
› About
› Contact
› Privacy
› Projects
› Search
› Sitemap
Buy on Amazon
Buy on Amazon
Buy on Amazon
Buy on Amazon