470,647 Members | 1,230 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

BeginRequest event not fired when using SSL

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
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.

Sep 27 '06 #1
0 1203

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Andy Read | last post: by
18 posts views Thread by Christopher W. Douglas | last post: by
2 posts views Thread by Asit | last post: by
7 posts views Thread by sanjana | last post: by
4 posts views Thread by Anatoly | last post: by
9 posts views Thread by jeff | last post: by
1 post views Thread by Korara | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.