Click here to Skip to main content
15,888,521 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: ie 6/7 div seems to be clearing Pin
jahangir_ahmad12-Sep-10 3:41
jahangir_ahmad12-Sep-10 3:41 
AnswerRe: ie 6/7 div seems to be clearing Pin
Gerben Jongerius15-Aug-10 21:56
Gerben Jongerius15-Aug-10 21:56 
GeneralRe: ie 6/7 div seems to be clearing Pin
nickmaroulis16-Aug-10 13:11
nickmaroulis16-Aug-10 13:11 
QuestionHelp authoring tools Pin
goodideadave11-Aug-10 12:38
goodideadave11-Aug-10 12:38 
QuestionXML With javascript Pin
geeeeeeeetha10-Aug-10 1:15
geeeeeeeetha10-Aug-10 1:15 
QuestionPurpose of using branding.css? Pin
swornavidhya_m9-Aug-10 19:42
swornavidhya_m9-Aug-10 19:42 
AnswerRe: Purpose of using branding.css? Pin
Prosanta Kundu online10-Aug-10 22:39
Prosanta Kundu online10-Aug-10 22:39 
QuestionHTTP <--> HTTPS: Getting security warning in IE Pin
dafaust9-Aug-10 8:05
dafaust9-Aug-10 8:05 
I'm using the code snippet below in my global.asax.vb to selectively switch between https and https for the "contact.aspx" page. The redirection works fine to and from https but I get a pop up saying that there is some unsecured content on the page.

- If I comment out this bit of code and access it using https://www.mydomain.com/contact.aspx, there is no security warning (IE8 and FF3.6)
- If the code is active, I am on http://www.mydomain.com/default.aspx and click the Contact link (http) I am redirected to https://www.maydomain.com/contact.aspx (expected) but with a security warning...

Any help would be much appreciated!



If Not Request.IsSecureConnection AndAlso (Request.Url.AbsolutePath.ToLower = "/contact.aspx"  OrElse Request.Url.AbsolutePath.Contains("/404.aspx") _
                                                   OrElse Request.Url.AbsolutePath.ToLower().Contains("/webresource.axd") OrElse Request.Url.AbsolutePath.ToLower().Contains("/scriptresource.axd")) Then
            Context.Response.Redirect(Context.Request.Url.ToString().Replace("http:", "https:"))
        ElseIf Request.IsSecureConnection AndAlso Request.Url.AbsolutePath.ToLower <> "/contact.aspx" AndAlso Not Request.Url.AbsolutePath.Contains("bc.vm") AndAlso Not Request.Url.AbsolutePath.Contains("/404.aspx") _
                                                AndAlso Not Request.Url.AbsolutePath.ToLower().Contains("/webresource.axd") AndAlso Request.Url.AbsolutePath.ToLower().Contains("/scriptresource.axd") Then
            Context.Response.Redirect(Context.Request.Url.ToString().Replace("https:", "http:"))
        End If

AnswerRe: HTTP HTTPS: Getting security warning in IE Pin
Graham Breach9-Aug-10 8:31
Graham Breach9-Aug-10 8:31 
GeneralRe: HTTP HTTPS: Getting security warning in IE Pin
dafaust9-Aug-10 8:49
dafaust9-Aug-10 8:49 
Questionhow to create web org chart application dynamically through mysql database using C#, ASP.net Pin
sr1598-Aug-10 21:34
sr1598-Aug-10 21:34 
AnswerRe: how to create web org chart application dynamically through mysql database using C#, ASP.net Pin
R. Giskard Reventlov8-Aug-10 21:46
R. Giskard Reventlov8-Aug-10 21:46 
QuestionRe: error in creating chart control using C#, ASP.net Pin
sr1598-Aug-10 23:29
sr1598-Aug-10 23:29 
AnswerRe: error in creating chart control using C#, ASP.net Pin
R. Giskard Reventlov8-Aug-10 23:45
R. Giskard Reventlov8-Aug-10 23:45 
QuestionRe: how to put chart control using C#, ASP.net Pin
sr1599-Aug-10 18:44
sr1599-Aug-10 18:44 
QuestionExcel Spreadsheet in Web Page Pin
Dalek Dave7-Aug-10 4:56
professionalDalek Dave7-Aug-10 4:56 
AnswerRe: Excel Spreadsheet in Web Page Pin
Not Active7-Aug-10 11:18
mentorNot Active7-Aug-10 11:18 
GeneralRe: Excel Spreadsheet in Web Page Pin
Dalek Dave7-Aug-10 11:48
professionalDalek Dave7-Aug-10 11:48 
AnswerRe: Excel Spreadsheet in Web Page Pin
User 17164927-Aug-10 11:46
professionalUser 17164927-Aug-10 11:46 
GeneralRe: Excel Spreadsheet in Web Page Pin
Dalek Dave7-Aug-10 11:49
professionalDalek Dave7-Aug-10 11:49 
AnswerRe: Excel Spreadsheet in Web Page Pin
Drew Stainton9-Aug-10 12:31
Drew Stainton9-Aug-10 12:31 
GeneralRe: Excel Spreadsheet in Web Page Pin
Dalek Dave9-Aug-10 12:42
professionalDalek Dave9-Aug-10 12:42 
GeneralRe: Excel Spreadsheet in Web Page Pin
Drew Stainton9-Aug-10 15:48
Drew Stainton9-Aug-10 15:48 
QuestionMaking a DIV the full page width Pin
LloydA1116-Aug-10 3:30
LloydA1116-Aug-10 3:30 
AnswerRe: Making a DIV the full page width Pin
NeverHeardOfMe6-Aug-10 5:24
NeverHeardOfMe6-Aug-10 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.