473,398 Members | 2,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Multi Page ASPX

I have a ASP webpage that creates user accounts. It currently use the format
as follows.

First Page:
Input boxes that get Firstname and Lastname and Department etc.
JavaScript Validation
If correct posts information to Second Page

Second Page:
Makes a username, email address and displayname from given info then checks
active directory to see if it exists. If it does exist it try's again until
it finds a unused one.
Then posts to third page:

Third Page:
Popup Window
Displays the progress of creating the AD account and setting all the
information.
Once complete sends email and closes.

I want to convert this to ASP.NET. The problem is I want to keep it very
secure. Im reading I should posts each page to itself to get the most out of
ASP.NET.

Any ideas on the best way to go at this.
Thanks

Bill
Nov 18 '05 #1
4 1793
Bill,
Browse this URL:
http://msdn.microsoft.com/library/de...formspages.asp

This will explain you how to pass values from one page to another in aspx
pages.
This will help you check it out.
aRvind

"Bill Smith" <no@spam.com> wrote in message
news:uW***************@tk2msftngp13.phx.gbl...
I have a ASP webpage that creates user accounts. It currently use the format as follows.

First Page:
Input boxes that get Firstname and Lastname and Department etc.
JavaScript Validation
If correct posts information to Second Page

Second Page:
Makes a username, email address and displayname from given info then checks active directory to see if it exists. If it does exist it try's again until it finds a unused one.
Then posts to third page:

Third Page:
Popup Window
Displays the progress of creating the AD account and setting all the
information.
Once complete sends email and closes.

I want to convert this to ASP.NET. The problem is I want to keep it very
secure. Im reading I should posts each page to itself to get the most out of ASP.NET.

Any ideas on the best way to go at this.
Thanks

Bill

Nov 18 '05 #2
Bill

You don't need to post between pages but effectively put each old page onto
a panel control on one single new page. The next/back buttons will then
allow you to move backwards and forwards by turning on and off the different
panel controls on the same page. The information from one panel to the next
is stored within the view state of the page and does not appear in the url
string. If you need to be really careful you can store the view state on a
separate SQL server database or I believe(?) the session state on the
server. I don't know which option would be most appropriate for your
situation.

Its really very simple - create a test page, drag on a couple of panels, add
some text to each, and then alter the visible state of each panel using a
button and it will all become clear.

Martyn Fewtrell
http://www.networkclub.co.uk

"Bill Smith" <no@spam.com> wrote in message
news:uW***************@tk2msftngp13.phx.gbl...
I have a ASP webpage that creates user accounts. It currently use the format as follows.

First Page:
Input boxes that get Firstname and Lastname and Department etc.
JavaScript Validation
If correct posts information to Second Page

Second Page:
Makes a username, email address and displayname from given info then checks active directory to see if it exists. If it does exist it try's again until it finds a unused one.
Then posts to third page:

Third Page:
Popup Window
Displays the progress of creating the AD account and setting all the
information.
Once complete sends email and closes.

I want to convert this to ASP.NET. The problem is I want to keep it very
secure. Im reading I should posts each page to itself to get the most out of ASP.NET.

Any ideas on the best way to go at this.
Thanks

Bill

Nov 18 '05 #3
Webform does have validation to ensure that the data is being posted
to itself by checking a hash value in the viewstate.

However, I don't think posting to another webform will make your web
application less secure.

ASP.NET does have a few additional feature the makes it easier to
implement a secure web application. However, ASP.NET alone will not
make your website very secure. You will still need to have a secure
infrastructure that is independent of ASP.NET, such as using firewall,
intrusion detection system, SSL, machine configurations...

I think you will be able to port all your existing code from ASP to
ASP.NET without posting any new security risk to your system.

One questions I have is that how third page knows when the processing
of creating an AD user is complete? Does it pool the web server
constantly?

Tommy,

"Bill Smith" <no@spam.com> wrote in message news:<uW*************@tk2msftngp13.phx.gbl>...
I have a ASP webpage that creates user accounts. It currently use the format
as follows.

First Page:
Input boxes that get Firstname and Lastname and Department etc.
JavaScript Validation
If correct posts information to Second Page

Second Page:
Makes a username, email address and displayname from given info then checks
active directory to see if it exists. If it does exist it try's again until
it finds a unused one.
Then posts to third page:

Third Page:
Popup Window
Displays the progress of creating the AD account and setting all the
information.
Once complete sends email and closes.

I want to convert this to ASP.NET. The problem is I want to keep it very
secure. Im reading I should posts each page to itself to get the most out of
ASP.NET.

Any ideas on the best way to go at this.
Thanks

Bill

Nov 18 '05 #4
Posting back to the same page will probably be the best.

You could have everything on one page, but just hide what you don't
want the user to see. IIS will remember all the values for the hidden
fields but the user won't be able to see them.

You could also make three user controls, one for each page. It would
be just like above, but you would only have to show/hide the user
control instead of many input controls.

Hope this helps,

Neil

"Bill Smith" <no@spam.com> wrote in message news:<uW*************@tk2msftngp13.phx.gbl>...
I have a ASP webpage that creates user accounts. It currently use the format
as follows.

First Page:
Input boxes that get Firstname and Lastname and Department etc.
JavaScript Validation
If correct posts information to Second Page

Second Page:
Makes a username, email address and displayname from given info then checks
active directory to see if it exists. If it does exist it try's again until
it finds a unused one.
Then posts to third page:

Third Page:
Popup Window
Displays the progress of creating the AD account and setting all the
information.
Once complete sends email and closes.

I want to convert this to ASP.NET. The problem is I want to keep it very
secure. Im reading I should posts each page to itself to get the most out of
ASP.NET.

Any ideas on the best way to go at this.
Thanks

Bill

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Remi | last post by:
Hello Everybody! I am going to develop a multi-language website which will include Traditional Chinese, Simplified Chinese, Thai, Japanese, etc. (and English as well). I would like to take an...
0
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black...
3
by: Leo J. Hart IV | last post by:
OK, here's another question for the experts: I am building a multi-step (3 steps actually) form using a panel for each step and hiding/displaying the appropriate panel/panels depending on which...
4
by: Robert P. | last post by:
I can easily store a one-dimensional array in viewstate ( see Test1 ) If I try storing a multi-dimensional array in the viewstate it's crapping out on me when it goes to serialize the array (not...
3
by: Vadim Vulfov | last post by:
I have the single page that I would like to show multiple times in one aspx file continuously with different parameters in querystring. So, I was planning to go through the loop and pick up the...
0
by: JeffJones176 | last post by:
Hello All: I am very new to multi-threaded programming and have a need (I think) to write an application that uses multi-threaded pages. My scenario follows: My business has multiple...
6
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I have a good question for you. Our company would like to display Chinese(either simplifiled or traditional version) for all field labels on any asp page, but customers can enter text/data...
2
by: Aussie Rules | last post by:
Hi, I have a site that Iwant to either display my text in english or french, based on the users prefernces ? I am new to webforms, but I know in winforms, this is pretty easy with a resource...
6
by: dbuchanan | last post by:
There are three parts to this 1.) How do I cascade menus? 2.) And, how do I cascade menus with a multi-select CheckBoxList?
7
Curtis Rutland
by: Curtis Rutland | last post by:
Building A Silverlight (2.0) Multi-File Uploader All source code is C#. VB.NET source is coming soon. Note: This project requires Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.