473,473 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Guidance on ASP.NET authentication, state management and dynamic h

Hello,

I’m currently writing an asp.net application that will be running on a
Windows XP Professional workstation utilising IIS and MSDE Database. At a
later date this application will need to run on a Windows Server 2003 IIS web
farm utilising either MSDE Database or SQL Server Database.

I’m developing this application utilising Microsoft’s Development
Environment 2002 version.

By the way this is my first ASP.NET application. I have previously developed
applications utilising ASP but I’m really excited at developing this
application.

I need some guidance and/or links to helpful resources on the following
issues; your help would be much appreciated:

1. Authentication: I need to put together a username and password system.
How do I deal with authentication for different users for different pages etc?

2. State Management: I will need to develop a web page that can be utilised
to enter customer details that are subsequently written to a database. Adding
customer details will require a number of different question to be asked that
alters the different data required from the customer. Therefore the customer
questions and input fields will need to be over a number of different web
screens. I would like to handle this utilising one single web page and some
form of State Management. I know that the following state management
techniques exist: Application State, Session State, Client-Side Cookies and
ViewState. But I do not know which to use and how to structure a single web
page to handle state management and multiple page view flows.

3. Dynamic html code. On a number of the customer display screens I would
like to hide some of the details. Unless the user wants to see this which in
that case they simply click on a particular hyperlink which dynamically
produces the HTML code without having to go back to the web server.

Please note if there are any further issues that I’m not dealing with
regards to these issues please feel free to mention them, I would be very
thankful of that.

Thank you in advance.

Nov 19 '05 #1
2 1409
J
Take a look at the tutorials section at http://www.asp.net, should get you
started on everything that you need.

Your application sounds like a good scenario for a tabbed single page, you
could achieve this using panels that you can show/hide by clicking them
through a wizard type of interface, each click returns to the server and
shows/hides the next panel, you could use the built in validation controls
to ensure they have completed the previous step correctly.

As for the showing and hiding of client side info, this could be achieved
through divs that switch a boolean between showing and hiding the info,
perhaps in what would look like a collapsible bar, the default you could
have as false(collapsed) with an onclick that opens up the div to display
the info.

If this is a new project and all is fresh I'd take your time and organise it
following as many best practice guidelines as possible, think big basically
and even if it is only going to be for a handful or couple of hundred people
try to imagine that one day it will be made available to thousands, comment
your code, document as much as you can, blah, blah, blah...

good luck,
J.
"geodev" <ge****@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
Hello,

I'm currently writing an asp.net application that will be running on a
Windows XP Professional workstation utilising IIS and MSDE Database. At a
later date this application will need to run on a Windows Server 2003 IIS
web
farm utilising either MSDE Database or SQL Server Database.

I'm developing this application utilising Microsoft's Development
Environment 2002 version.

By the way this is my first ASP.NET application. I have previously
developed
applications utilising ASP but I'm really excited at developing this
application.

I need some guidance and/or links to helpful resources on the following
issues; your help would be much appreciated:

1. Authentication: I need to put together a username and password system.
How do I deal with authentication for different users for different pages
etc?

2. State Management: I will need to develop a web page that can be
utilised
to enter customer details that are subsequently written to a database.
Adding
customer details will require a number of different question to be asked
that
alters the different data required from the customer. Therefore the
customer
questions and input fields will need to be over a number of different web
screens. I would like to handle this utilising one single web page and
some
form of State Management. I know that the following state management
techniques exist: Application State, Session State, Client-Side Cookies
and
ViewState. But I do not know which to use and how to structure a single
web
page to handle state management and multiple page view flows.

3. Dynamic html code. On a number of the customer display screens I would
like to hide some of the details. Unless the user wants to see this which
in
that case they simply click on a particular hyperlink which dynamically
produces the HTML code without having to go back to the web server.

Please note if there are any further issues that I'm not dealing with
regards to these issues please feel free to mention them, I would be very
thankful of that.

Thank you in advance.

Nov 19 '05 #2
I'd suggest getting a copy of Fritz Onion's book "Essential ASP.NET".

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hello,

I'm currently writing an asp.net application that will be running on a
Windows XP Professional workstation utilising IIS and MSDE Database.
At a later date this application will need to run on a Windows Server
2003 IIS web farm utilising either MSDE Database or SQL Server
Database.

I'm developing this application utilising Microsoft's Development
Environment 2002 version.

By the way this is my first ASP.NET application. I have previously
developed applications utilising ASP but I'm really excited at
developing this application.

I need some guidance and/or links to helpful resources on the
following issues; your help would be much appreciated:

1. Authentication: I need to put together a username and password
system. How do I deal with authentication for different users for
different pages etc?

2. State Management: I will need to develop a web page that can be
utilised to enter customer details that are subsequently written to a
database. Adding customer details will require a number of different
question to be asked that alters the different data required from the
customer. Therefore the customer questions and input fields will need
to be over a number of different web screens. I would like to handle
this utilising one single web page and some form of State Management.
I know that the following state management techniques exist:
Application State, Session State, Client-Side Cookies and ViewState.
But I do not know which to use and how to structure a single web page
to handle state management and multiple page view flows.

3. Dynamic html code. On a number of the customer display screens I
would like to hide some of the details. Unless the user wants to see
this which in that case they simply click on a particular hyperlink
which dynamically produces the HTML code without having to go back to
the web server.

Please note if there are any further issues that I'm not dealing with
regards to these issues please feel free to mention them, I would be
very thankful of that.

Thank you in advance.


Nov 19 '05 #3

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

Similar topics

7
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
11
by: Ken Durden | last post by:
I am in search of a comprehensive methodology of using these two object cleanup approaches to get rid of a number of bugs, unpleasantries, and cleanup-ordering issues we currently have in our...
2
by: Robert Hanson | last post by:
I am new to the asp.net application building and I have read the information regarding the storing of information using session vs cookies vs viewstate. I am asking for suggestions/guidance as to...
3
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be...
3
by: DotNetGruven | last post by:
Hi, I'm noticing that if web.config is changed, the web app is restarted and all Sessions are restarted as expected, but with Web Form authentication, it seems like the user is still...
4
by: Trevor Andrew | last post by:
Hi There, Hopefully this isn't too difficult a question to express here. I have a 3 tier application. 1. Presentation Tier: ASP.NET web application. 2. Middle Tier: ASP.NET Web Services that...
1
by: Mark Olbert | last post by:
I'm building an ASPNET2 website which uses forms authentication but does not use the Microsoft-supplied membership providers (mostly because I don't want to create my own provider at this point, and...
11
by: Ted | last post by:
I have figured out how to use MS SQL Server Management Studio for SQL Server 2005, including how to create users. At my client's offices, on my own LAN (a one man office with two computers in a...
0
JamieHowarth0
by: JamieHowarth0 | last post by:
I have been trying to find a solution to this on the Internet for months. Literally, ages and ages and ages, praying that someone in the open-source community has enough knowledge to put together an...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.