|
-
Feb 5th, 2005, 12:10 PM
#1
Thread Starter
Lively Member
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
-
Feb 5th, 2005, 12:40 PM
#2
Frenzied Member
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.
-
Feb 6th, 2005, 10:19 AM
#3
PowerPoster
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|