Web Forms :: How To Develop HTTPs Page
May 15, 2012How to develop a https page in asp.net ....
View 1 RepliesHow to develop a https page in asp.net ....
View 1 Repliesassume i have a textbox to type the tet to be searched and a search button to click.below that i have radio buttons one for google search one for yahoo search one for rediff.The result shou;d be displayed based on which radio button is selected.
View 1 RepliesI have to do a web form that once the user has completed successfully and click the "I Agree" box and submit the form that redirects to the page where you can download some files. These visitors are not "users" in the sense of Drupal (no username / password, log back, etc), so I do not think the profile is actually the correct method vs Webform but should only be able to access to this page through redirection Webform.
View 2 Repliesiam developing master page in that master page panel control is there under another panel control is there second panelcontrol is not visiblemy code like that
<asp:Panel ID="Panel1" runat="server" Height="111px" Width="1214px">......................>First Panel
<table style="width: 99%">
<tr> <td>
[code]...
In Global I have the following code that redirects the page to use HTTPS. I also have a SPROC that adds a record when a user visits a page. When a user visits a page, the SPROC is adding a record for the HTTP and then another record using the HTTPS. I'm not sure how to handle just adding one record. Is there something to add to the SPROC that will delete one of the records or should I do a code behind on an aspx page that executes the SPROC "IF" the page starts with HTTPS? HOw would I set up the condition to check for the HTTPS?
[Code]....
know "How to create a secured ASP.Net page which uses the https method".Note:
View 2 RepliesI need to force SSL when going to the final checkout page (for example from default.aspx to checkout.aspx).
I need to pass variables to this check out page and tried to use server.transfer(https://www.mydomain.com/checkout.aspx). I then use previous page .Fincontrol to read text box and label name to this check out page. If I only do the server.transfer("~/checkout.aspx") then my I can read all vakues of my controls from the passing default.aspx page.
But when I force https:// then I cannot read the control values from default.aspx page.
Please give me some tips on how to get control values to the https:// destination page or if you have another tips on how to do it the right way, please let me know.
i have seen many site where individual web parts load with busy icon when page loads. without using web parts how can develop a page where individual section will load with busy icon when page loads.
View 1 RepliesBuilding asp.C# shopping app that is using a hosted payment page to process payments (using posting of data to a hosted payment page). SSL certificate is signed and installed.
Flow:
Prelim) (HTTPS) Users authenticate using asp Login control
1) Users add items to cart.
2) (HTTPS)Users go to checkout page.
3) Users finalize their order, then click pay now after agreeing to T&C.
4) Server gets cart data (from MSSQL2005) and sets a transaction cookie (expiry set to 20 mins).
5) (HTTPS) Server Response.Redirects to an html page (in the same folder as the login protected pages).
6) Html page reads transaction cookie data and generates form fields.
7) (HTTPS) Html page posts data to hosted payment page (php).
8) User enters payment info and clicks pay now.
9) (HTTPS) hosted payment page posts info back to a .aspx page that checks if payment OK.
10a) If payment !OK, redirects to a declined page.
10b) (HTTPS) If payment OK, sets a verification cookie (expiry set to 20 mins). Then redirects to another html page.
11) Html page reads cookie data and generates form fields.
12) (HTTPS) Html page posts data to hosted verification page (php).
13) Verification page verifies (of course), if transaction ok.
14) (HTTPS) verification page posts data to a .aspx page that checks if verification OK.
15) If verification OK, process orders and do receipt stuff.
Issue:
This control flow was tested on an unsigned dev environment. SSL was being enforced, if needed on the unsigned SSL certificate. So we'd get prompts that certificate may be bad, but the control flow worked seamlessly.
However, now live with a signed SSL certificate, going from step 5 to 6, we are encountering a situation where some users (not duplicated every time, but verified that it does occur) when they click pay now and are redirected to the html page, they are forced back to the ~/login.aspx page (as if they were logged out).
Things to note:
a) The session did not time out.
b) The browsers have cookies and javascript enabled.
c) I can process the entire flow seamlessly on the same machine with other accounts, and occasionally, the same account.
So, basically, I'm stumped... Is this a viewstate error? A login control bug that won't let me redirect to an html page because it is now using a real SSL? Anyone have any experience with this kind of deal? I'm at a loss for solutions at this point.
How we transfer my session from http page to https page.
View 3 RepliesHow can I set up my page load event in my code behind to redirect to an url that has an https prefix? I would need it to work with urls that have query strings attached too.It's one thing to construct a link that goes straight to the https page, but I don't want the user to be able to manually change it to an http page.Also I don't want to do it with javascript because it might be turned off.
View 4 RepliesIs there a way to know beforehand if a given page will be served in HTTPS. To be clear I don't want to know if thecurrent page is using HTTPS or not.
View 3 RepliesI have a site that has a mix of http and https pages. Under the root of the site, one folder has all the http pages and another has all the https pages. Login is over https and sends the user to the other pages. When a session expires the forms authentication redirects to the Login page but the browser uses http and the user gets a 403 error. Is there any way to override the session timeout to send it to https?
View 1 RepliesI am creating a website with password-protected pages in it.
I have two type of customer: 1. Free 2. Paid
For paid customers, pages would be rendered over HTTPS whereas for free customer, pages will be rendered over HTTP. However, pages for both types of users would be same (while populating specific information for each user.)
note, the URL for the two users should be same except HTTP/HTTPS part.
I am new to HTTPS and want to know how to achieve this.
I am wondering how to implement it?
Other pages (aspx) are working fine on both http/https, only ashx gives response 404 on https, I used firefox firebug to investigate it.
I have two same virtual directory on IIS, one is mapped for https where this ashx is not working.
I guess some kind of mapping is missing for https on server, not sure where this kind of mapping is stored?
I am facing the issue "The page was not displayed because the request entity is too large."I am using ASP.Net 3.5, Sql server2008, IIS 7.5 and OS Windows 2008.I am finding the issue on following scenario:1. The error only shows up if the page is viewed as HTTPS (SSL).2. After login in the application if user waits for 1 min or more before doing a postback.Page size is about 200kb. It is running quite fine on Http.
View 5 RepliesI'm pretty new at configuring IIS and working with SSL. I've been having difficulty with switching from the HTTPs protocol to the HTTP protocol. I had set a small part of our website to the HTTPS protocol since it has an SSL certificate for online commmerce.
When users go through that part of the site the HTPPS protocol is set and runs fine, but when they try to leave by, say, clicking on a link to another part of the site (after they have visited the secured portion of the site) the HTTPS stays in the url. Is there something I'm doing wrong?
This is how the HTTPS is set on the site: this code is placed in an sslredirect.asp page located in a "SSL" folder:
<%
Response.Buffer = True
If (Request.ServerVariables("HTTPS") = "off") Then
sQ = Request.ServerVariables("QUERY_STRING")
sURL = "https" & Right(sQ, (Len(sQ)-8))
sURL = Replace(sURL, ":80", "")
Response.redirect(sURL)
End if
%>
I have a problem with the below one. This Javascript:void(0) is stopping me from showing the page securely with https. What is it actually? I have no idea about javascript.
var clear="js/clear.gif"; //path to clear.gif
document.write('<script type="text/javascript" id="ct" defer="defer" src="javascript:void(0)"></script>')
This file has the name js/unitpngfix.js*...i tried to see if it is being used anywhere. Yes, it is being used and all the pages that use this will not be shown as https. In the Master page, it was used like this
i redirect a page from http to https using http module begin request handler .i am calling webservice using ajax but it is saying webserice not defined .which otherwise works fineits work fine when rediect page in page_load instead .but i need to add function for https to http in every page. i still not know why ajax is not working when i use http module for redirect
View 3 RepliesI have a browser compatibilty problem with https? I have SSL installed and is in usage. Until today morning, my https part is working well. From then, Https is shown as https(with slashed in red color) saying the page has some insecure content. I have not changed any code and suddenly i see this problem in chrome. In IE 8, i see the same problem but on every page, it shows me a popup if i should allow to opne secure and non secure or just secure. Firefox has no issues . It shows correct https without any problem. I am fed up with it searching all over. Why is this happenening for me in Chrome and IE 8.
View 3 RepliesHow to achieve this security feature which is shown in url bar (https) ?
View 1 RepliesI want to develop the folowing control:- Data comes from the database as one whole string (seperated by ;) . So I want to bind the Adrotator to this string- 2 icons (left, right) to navigate through the rotator (horizontal)If AdRotator is not the correct control to use, what can I use then?
View 2 Replieshave a common requirement but I am not sure how to do this.Develop Forms Authentication using Active Directory (If the user exists in AD, AD being configured to SQL, I need to authentication ths user through Forms Authentication.Secondly, If the User doesnot exist in AD, I need to directly authenticate through SQL Database using FOrms Authentication.Both the SQL and AD are on a different server ( not local). Please help me how to achieve this.
View 5 RepliesI have ajax autocompleteextender and it is working fine with our test enviornment where we dont have secured HTTP. But while moving the code to Qa, which runs on HTTPS, AutoCompleteExtender stops working. I debugged and see control is going to webservice but unable to fetch data or call database from webservice.
View 1 RepliesI wrote a code to send file as below:
[Code]....
When I tried to send file to the URI stated above, the server throw the status 400 back to me when I tried to get the response from the server, and the https server doesn't receive any file. While I changed the URI to point to another server, which is a http server, the code works fine and able to send file to the server. I would like to know why the code above is not able to send the file to the https server?
PS:
[Code]....