473,386 Members | 1,766 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,386 software developers and data experts.

old with the new, forms...

My new asp.net 2.0 web site just went live today!

http://www.miltonstreet.com

Being the typical tinker, I am already adding to it! I have taken a
traditional login FORM from another web site and want to my asp.net
site. I have added it to the development site. When I run the
development version, enter the login info, and click the send button,
nothing happens. I am guessing that I cannot simply dump a traditional
HTML FORM onto an asp.net 2.0 page and have it work. Am I correct? If
so, what do I need to do to get the form to work?

Sam

P.S. it is a get style of form

Jul 3 '06 #1
5 1082
Nice site. As for your form, you have to realize that the web page being
processed by Internet Information Service may be handled in several different
ways. It all depends on the filename extension. By default, I believe, HTML
files are not processed by ASP.NET. You can see how this is configured by
going to IIS, viewing the properties of your website, and clicking the
Configuration button. You can see that different file extensions are handled
by different executables.

In addition, you cannot simply drop a HTML login page from somewhere else
into your website and expect it to authenticate users on your web page. I'd
highly suggest that you get a decent book on ASP.NET and read up on
authentication. Its much simpler to do with ASP.NET 2.0; cheap, as well, for
a small website as you can use Sql Server 2005 Express (free).

"Sam Carleton" wrote:
My new asp.net 2.0 web site just went live today!

http://www.miltonstreet.com

Being the typical tinker, I am already adding to it! I have taken a
traditional login FORM from another web site and want to my asp.net
site. I have added it to the development site. When I run the
development version, enter the login info, and click the send button,
nothing happens. I am guessing that I cannot simply dump a traditional
HTML FORM onto an asp.net 2.0 page and have it work. Am I correct? If
so, what do I need to do to get the form to work?

Sam

P.S. it is a get style of form

Jul 3 '06 #2

William Sullivan wrote:
In addition, you cannot simply drop a HTML login page from somewhere else
into your website and expect it to authenticate users on your web page. I'd
highly suggest that you get a decent book on ASP.NET and read up on
authentication. Its much simpler to do with ASP.NET 2.0; cheap, as well, for
a small website as you can use Sql Server 2005 Express (free).
William,

I am very sorry, I did not make myself clear. The login page will take
the user to the other site. I use www.collages.net to host my photo
session/events. If you goto their homepage there is a section "View An
Event" and you enter a username and password. One event I currently
have active is:

Username: Jamie
Password: 7855

If you enter that information, it takes you to another page at
collages.net. What I want to do is put this form that that
collages.net has on their homepage on my web page. I do not expect it
to authenticate for my website, but rather send the user off to
collages.net.
Nice site. As for your form, you have to realize that the web page being
processed by Internet Information Service may be handled in several different
ways. It all depends on the filename extension. By default, I believe, HTML
files are not processed by ASP.NET. You can see how this is configured by
going to IIS, viewing the properties of your website, and clicking the
Configuration button. You can see that different file extensions are handled
by different executables.
Ok, I follow you. I am using master pages for my web site. If I am
not mistaken, master pages don't work with HTML pages, do they? I
thought they only with asp.net page. So, any thoughts on how to make
the asp.net do a post to collages.net's site?

Sam

Jul 3 '06 #3
"Sam Carleton" <sc*******@gmail.comwrote in message
news:11**********************@b68g2000cwa.googlegr oups.com...
I am guessing that I cannot simply dump a traditional HTML FORM
onto an asp.net 2.0 page and have it work. Am I correct?
You are correct.
If so, what do I need to do to get the form to work?
Largely depends what you mean by "work"... What do you expect to happen when
your users hit the button...?
Jul 3 '06 #4
Mark Rae wrote:
If so, what do I need to do to get the form to work?

Largely depends what you mean by "work"... What do you expect to happen when
your users hit the button...?
I replied to someone else with a bit more detail on what I am expecting
to happen when the user clicks the button:

The login page will take the user to the other site. I use
www.collages.net to host my photo session/events. If you goto their
homepage there is a section "View An Event" and you enter a username
and password. One event I currently
have active is:

Username: Jamie
Password: 7855

If you enter that information, it takes you to another page at
collages.net. What I want to do is put this form that that
collages.net has on their homepage on my web page. I do not expect it
to authenticate for my website, but rather send the user off to
collages.net.

Sam

Jul 3 '06 #5
"Sam Carleton" <sc*******@gmail.comwrote in message
news:11**********************@j8g2000cwa.googlegro ups.com...
The login page will take the user to the other site. I use
www.collages.net to host my photo session/events. If you goto their
homepage there is a section "View An Event" and you enter a username
and password. One event I currently have active is:

Username: Jamie
Password: 7855

If you enter that information, it takes you to another page at
collages.net. What I want to do is put this form that that
collages.net has on their homepage on my web page. I do not expect it
to authenticate for my website, but rather send the user off to
collages.net.
One simple way would be to encapsulate that entire page in a frame / iframe
on your site.

Alternatively, you could look at the HttpRequest / HttpResponse
functionality, but that would be a bit more work...
Jul 3 '06 #6

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

Similar topics

3
by: Joshua Russell | last post by:
Hi, Both the methods below open up a windows form called MasterForm. However, one works better than the other. Method 1 opens the form correctly but I don't have any reference to the instance of...
7
by: Mike Bulava | last post by:
I have created a base form that I plan to use throughout my application let call the form form1. I have Built the project then add another form that inherits from form1, I add a few panel controls...
13
by: MD | last post by:
I have been converting a program from VB6 to VB.Net and enhancing it as well. All has been progressing OK although its been hard work. Now, all of a sudden, when I try to execute a ShowDialog()...
3
by: Lloyd Sheen | last post by:
I have the following situation: Need a user resizable user control. After much trying with user control I came across the idea of hosting the controls in a form marked as not TopLevel = false. ...
3
by: Geraldine Hobley | last post by:
Hello, In my project I am inheriting several forms. However when I inherit from a form and add additional subroutines and methods to my inherited form I get all sorts of problems. e.g. I sometimes...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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...

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.