Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1045735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:01:56+00:00 2026-05-16T16:01:56+00:00

Im placing no script tag on my master page that if a user dont

  • 0

Im placing no script tag on my master page that if a user dont have javascript enabled or its browsers doesnt support javascript it redirect to a specific view. im using this code

 <noscript>    
  <% Response.Redirect("../UserLogin/Error");  %>
 </noscript>

but the problem is its redirecting me everytime i open the page although my javascript is enabled. Im using asp.net mvc2 what may be the problem or is there is any other way to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:01:56+00:00Added an answer on May 16, 2026 at 4:01 pm

    The tag noscript is evaluated in the client (browser). The server doesn’t know if client has script support, so every time it redirects.


    EDIT

    Explain better: the server just creates a string (HTML) and send it to browser. It doesn’t parse to see if browser has script support.


    EDIT 2

    You can use meta refresh tag. See:

    <head>
        <noscript>
        <meta http-equiv="refresh" content="0;url=http://example.com/" />
        <!-- Redirect to http://example.com/ immediately -->
        </noscript>
    </head>
    

    I tested in firefox and works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm placing content on my page through an ajax (post) request like so: $("input#ViewMore").click(function()
Have you guys had any experiences (positive or negative) by placing your source code/solution
I've noticed that Visual Studio 2008 is placing square brackets around column names in
I have a problem with a flash object placing itself on top over everything
I've been playing with idea to make a script to generate 2-characters words from
When placing email addresses on a webpage do you place them as text like
A C-program is placing what it considers to be 64-bit unsigned integers into a
What is the syntax for placing constraints on multiple types? The basic example: class
Can it be known in general whether or not placing a case within a
I'm trying to use a .NET assembly from VB6 via interop without placing it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.