Server Object Test Suite
1. Server.HTMLEncode
Original: Bold & 'Quote'
Encoded: <b>Bold</b> & 'Quote'
2. Server.URLEncode
Original: http://site.com?name=John Doe&city=New York
Encoded: http%3A%2F%2Fsite%2Ecom%3Fname%3DJohn+Doe%26city%3DNew+York
3. Server.MapPath
Root: C:\asp.py\tests
File: C:\asp.py\tests\server_test.asp
4. Server.CreateObject (Scripting.Dictionary)
Count: 2
Item A: Apple
Key B exists.
Count after RemoveAll: 0
5. Server.ScriptTimeout
Default Timeout: 90
New Timeout: 120
6. Server.Execute
I am inside sub_exec.asp!
This content is being injected via Server.Execute.
Back in Main File (Execute finished).
7. Server.Transfer (Click link to test)
Transfer stops the current page and moves to another. This must be the last test.
Click here to Test Server.Transfer
Transferred
Transfer Successful!
You have been transferred to sub_transfer.asp.
The URL in your browser should still show server_test.asp.
Context check: SessionID is 272806727
Go Back