Results 1 to 3 of 3

Thread: Redirecting to another page?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2002
    Posts
    101

    Redirecting to another page?

    HI all,

    just one quick question. I'm creating a site that allows the user to register a user name. If the desired username exists I want the same register page redisplayed with a message indicating "duplicate users" but i dont want to create a new register page. I want to redirect the user to the same register page and display a error message in that same register page. any suggestions.

    thanks in advance

  2. #2
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    Re: Redirecting to another page?

    Use a literal Control and set it's text to the message after you find that there is a duplicate. If there isn't a duplicate then redirect or load new controls.
    Magiaus

    If I helped give me some points.

  3. #3
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    Re: Redirecting to another page?

    Write you registration code in the submit of the button, instead of redirecting the user to another page where u have your registration code. in the submit button itself you can first check if the username exists, if it does then set the text of a say label control to tell the user.

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