Asked By Jay Chan
17-Oct-08 07:57 AM
I have got around with this problem by following suggestions that I
have found in this newsgroup. The suggestions are:
1. Disable anonymous access.
2. Set authentication mode to Windows Authentication (in Web.Config).
3. Set identity-impersonate to true (in Web.Config).
This "workaround" allows me to get access to the User.Identity.Name.
Using the user login name, I can re-create the session variables that
I cannot pass from a C# module to a VB-ASP module.
Still, this is just a workaround. I still haven't fixed the original
problems:
o I still don't know why I cannot pass the session variables from the
C# module to the VB-ASP module.
o I still don't know why this problem only occurs when I run it in
debugging mode in Visual Studio. The production version of the
same program doesn't have this problem even though it has
enabled anonymous access, and has set the identity-impersonate
to false.
Any idea? Thanks.
Jay Chan