473,850 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[Framework 1.1] HTTP and HTTPS form in one aspx

Hi all,

I have an aspx page which must contains two forms...
I know that it's impossible but my client wants a login form in all
pages...
The login must be secured and all the website can't be in https!
I can not modify action via javascript because the website must be
AA-WCAG compliant (Accessibility) .

Is anybody has an idea?

Apr 13 '06 #1
2 1130
you can have two forms on a page. the asp.net callback model only supports 1
per page, but you can still add a second html form (don't add runat=server)
that posts to a login page.

you other option is to create a login control, and place it on every page.
in this case have your pages inherit from a base page that implements the
login logic.

not sure how you can have a secure login with out https.

-- bruce (sqlwork.com)

<se************ *****@gmail.com > wrote in message
news:11******** **************@ t31g2000cwb.goo glegroups.com.. .
Hi all,

I have an aspx page which must contains two forms...
I know that it's impossible but my client wants a login form in all
pages...
The login must be secured and all the website can't be in https!
I can not modify action via javascript because the website must be
AA-WCAG compliant (Accessibility) .

Is anybody has an idea?

Apr 13 '06 #2
creating a control which handle login information is a good solution
but...
How can i use HTTPS for the login and HTTP for all the others?

bruce barker (sqlwork.com) a écrit :
you can have two forms on a page. the asp.net callback model only supports 1
per page, but you can still add a second html form (don't add runat=server)
that posts to a login page.

you other option is to create a login control, and place it on every page.
in this case have your pages inherit from a base page that implements the
login logic.

not sure how you can have a secure login with out https.

-- bruce (sqlwork.com)

<se************ *****@gmail.com > wrote in message
news:11******** **************@ t31g2000cwb.goo glegroups.com.. .
Hi all,

I have an aspx page which must contains two forms...
I know that it's impossible but my client wants a login form in all
pages...
The login must be secured and all the website can't be in https!
I can not modify action via javascript because the website must be
AA-WCAG compliant (Accessibility) .

Is anybody has an idea?


Apr 27 '06 #3

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

Similar topics

2
2248
by: Rujuta Gandhi | last post by:
Hi All, I am facing a very crucial problem. Im developing a web application using .net studio 2005(beta). I want my Login.aspx page to be secured(https) for encrypted login information transfer. I modified web.config and properties of Login page from IIS server. And now when ever the execution is redirected to Login.aspx It is having https as its protocol.
6
2146
by: Phillip N Rounds | last post by:
I have a webform, from which I have to submit info to another site. Their instructions are to have a html form, with the following as the submit: <form method="post" action="http://www.theirsite.htm"> <input type=hidden name="field1" value="value1"> <input type=hidden name="field2> value="value2> <input type="submit" value="Click Me"> On my web form, I have numerous web controls ( all runat="server"), one of which is a button which...
1
2199
by: dave | last post by:
Hello I have one simple form (myform.asp) and it posts to query.asp I had put below code in both file on top of the page to redirect this two pages in https:// so any one can access it thru http , it changes to https:// if Request.ServerVariables("HTTPS") = "off" then method = Request.ServerVariables("REQUEST_METHOD") srvname = Request.ServerVariables("SERVER_NAME") scrname = Request.ServerVariables("SCRIPT_NAME") sRedirect = "https://"...
3
1820
by: Raymond Tam | last post by:
When I am using server-side button to switch from https to http by using response.redirect "http://a.apsx" in response to the client event, I am still at the https environment (ie. the address bar on the IE is https://a.aspx). However, when using hyperlink control, there is no mis-representation. Can anyone advise how to deal with this? Is it .NET bug?
4
1854
by: Chris Ashley | last post by:
Is it possible to persist viewstate information between HTTP and HTTPS (on the same page obviously)? Trying to get around writing some messy state transfer code... it doesn't seem to work if I use response.redirect.
15
4660
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to communicate with a MySQL database table on a web server, from inside of my company's Access-VBA application. I know VBA pretty well but have never before needed to do this HTTP/XML/MySQL type functions.
13
1952
by: Richard | last post by:
Hi All, The ASPX file below runs fine in ASP .NET WebMatrix 0.6 under WinXP/SP2 with IIS 5.1 and .NET Framework 1.0, 1.1 and 2.0. But if the last scriptString line is eliminated after appending the closing ">" to the preceding line, the compiler flags that last line in the browser (Firefox 5.0) with the message: Compiler Error Message: CS1010: Newline in constant
2
1582
by: Greg Wood | last post by:
As a new member, I hope I am posting correctly. Bear with me if not ! I found a posting by Earle Oxner that very closely matches the situation we are in. Sadly, there were no replies to his post, so I am asking a similar question. We have developed a .Net Compact Framework 2 forms application & deployed it on a 2 PDAs, one running Windows Mobile 2003 2nd Edition and one running Windows Mobile v5. The app's purpose is to POST data to an...
25
4403
by: Blasting Cap | last post by:
I keep getting errors that pop up when I am trying to convert an application from dotnet framework 1.1 to framework 2.0. The old project was saved in sourcesafe from Visual Studio 2003, and I have opened it in Visual Studio 2005. I've cleared up most errors, but have one that beats the heck out of me. I have a page: sales/Item.aspx that has several datagrids in it.
0
9744
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11011
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10725
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10352
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9503
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5735
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5931
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4547
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4142
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.