Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 how to capture userid from session

Author  Topic 

bluestar
Posting Yak Master

133 Posts

Posted - 2008-09-01 : 16:48:23
how can I capture userID from the session and then pass it into the stored procedure.

there will be two types of users in the session ,guest users and logged in users.

I tried writing in my c# code ...
Session("@userName") = Membership.GetUser;

but this is giving me compilation error ,"The name 'Session' does not exist in the current context"

please help

thank you

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2008-09-01 : 17:24:24
dont post twice please

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=109848
Go to Top of Page
   

- Advertisement -