473,386 Members | 1,715 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.

BeginRequest event not fired when using SSL - MORE - On_Load notinvoked

After trying to solve this, I noticed another strange thing. When in
secure connection Page_Load method of page is not invoked (Load event
not fired). I looked where this method is assigned to this event, it's
in On_Init method. Tested, this method is not invoked too. This happens
only in when in SSL. Can anyone help me?

Thanks.
Artur
Artur wrote:
I'm trying to write a code that will change prefix (http to https and
vice versa). It half works now, because I can reach
Application_BeginRequest method in Global.asax file only when NOT in
secure connection. If I open ay page with http, the methodod is fired,
and if with https, it is not fired. I tried to do the same thing,
creating a module and setting event handlers to BeginReuest event in
Init method, hovewer the Init method is not invoked too, when in secure
mode.
Do you have any ideas why this could happen? I working on Windows 2003
Server with IIS 6.0.
As I see on Usenet and forums, Global.asax's Application_BeginRequest
method is commonly used to solve http/https thing, as well as adding
event handler to Application obiect (creating module), so probably it's
not a general fault. If anyone ever met something like this and has a
solution, I would be very grateful.

Thanks.
Artur
Sep 28 '06 #1
0 1425

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

Similar topics

0
by: Andy Read | last post by:
Hello all, I have the requirement to produce source code that produces an object hierarchy. Example: Root | Folder 1
5
by: adnanx82 | last post by:
Hi, I'm having a hard time figuring out why the onload event is not being called for the frameset window in the following simple example. It is being called for each of the component frames. ...
7
by: sanjana | last post by:
hi i wanna detect if a anything is connected to the usb port I am using system.management class for tht purpose this is my code class usbdetect { public static void Main() {
6
by: Steve Booth | last post by:
I have a web form with a button and a placeholder, the button adds a user control to the placeholder (and removes any existing controls). The user control contains a single button. I have done all...
41
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based...
1
by: baroque Chou | last post by:
the body tag has onload event, I want to make sure that is it a client side scirpt, is it fired completed after the page is rendered, I mean, the meaning of the onload is the browser loading the...
9
by: jeff | last post by:
New VB user...developer... Situation...simplified... - I want to wrap a pre and post event around a system generated where the pre-event will always execute before the system event and the...
1
by: Tim.Forbess | last post by:
Using asp.net 2.0 I have a web project with one page which contains 2 user controls. One user control is a message bar with a label control and the other user control that contains a treeview...
0
by: Artur | last post by:
I'm trying to write a code that will change prefix (http to https and vice versa). It half works now, because I can reach Application_BeginRequest method in Global.asax file only when NOT in...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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.