Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Deleting or over writing Session Variable

Posted on 2006-07-05
1
221 Views
Last Modified: 2011-09-20
Hi Experts,
Have what I think should be an easy question.  I have a session variable that I want to delete and replace with an updated one.  For example:  user goes to a page and enters a date and login name and is redirected to another page to input data.  After they finish this date's data, they would hit the back button or click add another day and then change the date.  The problem is I can't get the date to change.  I have tried Session.Content.Remove["data"], Session.Content.Removeall() and simply just over writing the variable, but all fails until the session has timed out.  Any suggestions?

Thanks,
Paul
0
Comment
Question by:pwtucker
1 Comment
 
LVL 12

Accepted Solution

by:
topdog770 earned 250 total points
ID: 17045017
After you collect or use the Session variable.. set it to null
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question