Re: SessionID -> UserId Insert and View
- From: "Jim" <stopspam@xxxxxxxxxxx>
- Date: Tue, 27 Nov 2007 13:29:59 -0800
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.
"Peter Bromberg [C# MVP]" <pbromberg@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:1737C9B1-F82B-4C5B-850D-5CCFBA78625F@xxxxxxxxxxxxxxxx
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
"Jim" wrote:
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
membership table when the user inserts a record.
- When the user views the GridView, only their records are shown. I
don't
want to use a query string that uses the UserID for securtiy resons, so
I'm
thinking that I can use a SessionID that is tied to the UserId?
Requests:
1. Insert a record that will automatically insert UserId
2. View reords in GridView that belong to the logged in user with
SessionID
I'm not sure what all I need to do to get the SessionID working? I have
put
"<sessionState mode="InProc" cookieless="false" timeout="20" />" into my
web.config file.
But now what?
Thank you for any help.
.
- References:
- SessionID -> UserId Insert and View
- From: Jim
- SessionID -> UserId Insert and View
- Prev by Date: Re: how to run a web project using http://
- Next by Date: Access JavaApplet through DOM
- Previous by thread: SessionID -> UserId Insert and View
- Next by thread: Alternative to Crystal Reports
- Index(es):
Relevant Pages
|