Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

Session Variables Empty

$
0
0

Hi there,

I have just moved an old ASP.NET application from IIS6 to IIS7 on a different server. The site uses session variables to automatically obtain a users Windows username with the command Session("userid"). This is then passed to a Stored Procedure to be processed.

Unfortunately, after transferring the application to the new server it's not picking up the username anymore. For example, previously if I was logged in as DOMAIN\User1, the command Session("userid") would've returned "User1" - now it's just returning "".

Any ideas why this might be?

Thanks,

Matt


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>