Home All Groups Group Topic Archive Search About

application_start called (again) when switching domain in same app

Author
16 Oct 2006 9:41 AM
Flemming
I'm using application_start for starting Remoting for the application.
In iis there are specified several domains for the site i.e.:
http://mydomain.dk - http://www.mydomain.dk

When shifting between domains - application_start is called again - and this
is a problem because Remoting is called twice in the same application - this
will result in an error, because the Remote server think its the same which
is started again.
When called again application variables is not available in the next call of
application_start.

In Framework 1.1 this is not an issue.

Is this a change in 2.0 or is this an error ??
Any suggestions on a work-around ?

Regards
Flemming


--
Wagner Engineering - Solutions 2 make better administration

AddThis Social Bookmark Button