hi, I need to combine AllowSwitching and LegacyProfile session option (Version 4.4), is that valid?, and if yes, how?

Note: the problem is that, before version 4.4 we were use AllowSwitching in web.config as we were depend on data objects to open session automatically, now i can set only one of them.

Thanks

asked Mar 19 '11 at 12:13

ahmad%20emad's gravatar image

ahmad emad
26292931

Hello Ahmad,

Am I right saying that the problem is 'How to configure session in web.config file having that 2 options must be combined together'?

(Mar 19 '11 at 14:11) Dmitri Maximov Dmitri%20Maximov's gravatar image

Hello Dmitri,

thanks for fast replay, the answer is yes.

(Mar 20 '11 at 02:27) ahmad emad ahmad%20emad's gravatar image

One Answer:

If I understood you correctly, try applying the following construct:

<domain connectionUrl="..." upgradeMode="...">
  <sessions>
    <session name="Default" options="LegacyProfile, AllowSwitching"/>
  </sessions>
</domain>

answered Mar 20 '11 at 11:02

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

edited Mar 20 '11 at 11:02

thanks, it works

(Mar 21 '11 at 02:48) ahmad emad ahmad%20emad's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

Subscription:

Once you sign in you will be able to subscribe for any updates here

Tags:

×4
×2
×1

Asked: Mar 19 '11 at 12:13

Seen: 1,572 times

Last updated: Mar 21 '11 at 02:48

powered by OSQA