New'b and logon page

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default New'b and logon page

    I started a new logon page using Web Matrix. How do I redirect to some other
    page besides default.aspx? Where does it go in the code? I have tried
    "Response.Redirect(\\servername\page.aspx)", but I get this "Compiler Error
    Message: BC30201: Expression expected."
    TIA for the help!!

    Jim


    James Rasmussen Guest

  2. Similar Questions and Discussions

    1. Forms Auth keeps going to logon page
      Hi, I am using forms authentication for a web application I am writing. I query a SQL server database to find a matching username and password...
    2. Logon page
      I would like to create a logon page but I am new to this stuff. Basically when a page is called a user needs to enter their name and password(the...
    3. Help to Build A Logon Page For My Web Page
      Hey Everyone, I am building a website but i need it so you have to log on so that i can see everyone that has logged into the site. Does anyone no...
    4. "...not allow you to logon interactively..." preventing my Logon
      Ok, I have tried rebooting in Safe Mode, and know that the Administrator account is still called "Administrator". However, even in safe mode, I...
    5. XP Logon screen: Logon to selection screen
      Is there a way that I can disable the logon to selection screen when I logon? I know that users can type username@domain.com, but that's not what I...
  3. #2

    Default Re: New'b and logon page

    The GetRedirectUrl always returns the URL from the querystring, and if none
    is present it always returns default.aspx - I am not aware of any way to
    modify the default return value of this function. A Response.Redirect is the
    way to handle this and does work - your URL needs to be in quotes, however,
    as it is expecing a String variable.

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows XP
    Windows XP Associate Expert
    --
    "James Rasmussen" <jmrasmus@yrmc.org> wrote in message
    news:eXy3QOciDHA.620@TK2MSFTNGP11.phx.gbl...
    > I started a new logon page using Web Matrix. How do I redirect to some
    other
    > page besides default.aspx? Where does it go in the code? I have tried
    > "Response.Redirect(\\servername\page.aspx)", but I get this "Compiler
    Error
    > Message: BC30201: Expression expected."
    > TIA for the help!!
    >
    > Jim
    >
    >

    Chris Jackson Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139