473,782 Members | 2,531 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_Beg inRequest 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_Beg inRequest
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 1459

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

Similar topics

0
7047
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
8639
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. Here's the code: mainpage.html:
7
13356
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
3381
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 the usual stuff of recreating the usercontrol in the Page Init event. The 'failure' sequence is as follows: - select web form button to display the user control - select user control button, event fires - select web form button to display...
41
4327
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 on some initialization information obtained elsewhere. Basically, I'm going to create my own dynamic toolbar where the toolbarbuttons can change. I'm not using the VB toolbar because of limitations in changing things like backcolor (I can't get...
1
1648
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 rendered page coming from server response? and have no business with the Pages's On_load method which is called at server side.
9
2471
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 post event will always execuate after the system is completed... - I want to wrap this functionality in a framework, so I could possibly have 3 or 4 levels of inherited objects that need to have these pre / post events executed before and after the...
1
1859
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 control. I created an event on the tree user control to publish any error messages back to the page. The page in turn will call a method on the message bar control to show the message in the label. The tree control has some nodes populate during...
0
1284
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 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...
0
9639
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9479
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
10311
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...
0
10146
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8967
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
6733
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5378
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...
1
4043
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
3639
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.