It sounds like you just want to store the UserID in a Session variable, e.g.
Session["userId"]=UserID;
--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com
> Using either EW or VSE2008, I want to have a GridView that will:
> - Insert the logged in user's UserId from either the User table or the
[quoted text clipped - 13 lines]
>
> Thank you for any help.
Jim - 27 Nov 2007 21:29 GMT
Thanks for the reply, but I'm not sure what to do with this.
Where do I put this string?
I'm coding in VB ASP.NET.
Thanks.
> It sounds like you just want to store the UserID in a Session variable,
> e.g.
[quoted text clipped - 27 lines]
>>
>> Thank you for any help.
Jim - 03 Dec 2007 23:05 GMT
Peter -
Can you explain in further detail how to use this Session["userId"]=UserID
in VB?
1. What need to be in the web.config file
2. What would the aspx page need?
3. What would the aspx.vb page need?
Thank you for this. I have tried to Google the string and didn't come up w/
anything.
> It sounds like you just want to store the UserID in a Session variable,
> e.g.
[quoted text clipped - 27 lines]
>>
>> Thank you for any help.