Results 1 to 4 of 4

Thread: How do I disable the web page viewing in a web browser?

  1. #1

    Thread Starter
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    How do I disable the web page viewing in a web browser?

    Just kidding. This joke is a reference to all the questions lately regarding disabling everything in a browser.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  2. #2
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    Sorry, but I can't help but answer

    Code:
    <%
      'mypage.asp
      if Session("myCount") = "" then Session("myCount") = 0
      Session("myCount") = Session("myCount") + 1
    
      Response.Redirect("mypage.asp")
    %>
    'Course, this is likely to kill IIS, I'm not going to test it.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

  3. #3

    Thread Starter
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    LOL. God forbid someone sees this code and tries it!
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    You can kill IIS by writing a loop that adds more than 10,000 or so HTTP headers. Don't ask why I know this...
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width