Re: Over Write Value in Session State?

From: Kevin Spencer (kspencer_at_takempis.com)
Date: 12/16/04


Date: Thu, 16 Dec 2004 12:43:11 -0500

Session("Email") = "someone@msn.com"

-- 
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
"Leon" <vnality@msn.com> wrote in message
news:#WAubA54EHA.2180@TK2MSFTNGP12.phx.gbl...
> Can you write over a value in session or do you have to delete the value
> first then re-create it?
>
> **Example:
> I have the following value in session state...
> Statement 1 -- Session.Add("Email", "someone@ someplace.com ")
>
> And I want to change it to the following value...
> Statement 2 -- Session.Add("Email", "someone@ msn.com ")
>
> Do I just execute statement 2 or do I have to delete statement 1 first?
>
>
>
>
>
>
>


Relevant Pages

  • Re: Session State Question?
    ... Session would be fine in this case. ... nor a lender be. ... "Leon" wrote in message ... > state if you will be validating information against those credential ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Session State Question?
    ... Session is memory. ... > "Kevin Spencer" wrote in message ... >> Neither a follower ... >> nor a lender be. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Session is killing Me ?
    ... Sessions time out, so you should always check for null before trying to work ... nor a lender be. ... "Raghu Raman" wrote in message ... > am using the session object for some logic. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Is Gnome Getting Senile: Save Session on shutdown
    ... I now see that when I shut down from the Gnome menu, ... for saving the session on log out, and it has stayed uncheck. ... Thanks, Leon. ...
    (Fedora)
  • RE: Over Write Value in Session State?
    ... A sure bet is to reference the value directly as in the following: ... overright the value previously contained in the session. ... "Leon" wrote: ... > first then re-create it? ...
    (microsoft.public.dotnet.framework.aspnet)