Application.Contents.Remove("whateverthe index value is")<BR><BR>works for the application variables.<BR><BR>I think the replacing application to session will work. BTW, Session.abandon only works on THAT particular set of session variables...not all. At least, I think so
you are correct, all the session variables will be deleted. but your original statement was:<BR><BR>"but not use session.abandon as i have other sessions which need to be kept running"<BR><BR>abandoning session ID 1234567 has exactly ZERO relevance to session ID 7654321 ...
sorry must have not been very clear. <BR>once a user logs in they will have a session("mylogin") which needs to be there but else where in the site i have a <BR>session("userdoessomething") once this has been used i don't want to store it in the servers memory, but i do want to store seesion("mylogin") so is there away to delete the session("userdoessomething") with out effecting anyother of the users sessions
.. session variables. NOT separate sessions.<BR><BR>It's not a big thing, just pay attention to what we are saying - it'll help you communicate problems better.<BR><BR>But, as for your final solution. Just set it to "", Null or anything that isn't valid for your application. You can also try the .Remove() method that someone posted.
http://www.microsoft.com/windows2000/en/advanced/iis/default.asp?url=/WINDOWS2000/en/advanced/iis/htm/asp/vbob6zkv.htm<BR><BR>What you are interested in is:<BR><BR>Session.Contents.Remove(itemname or index)<BR><BR>I would book mark that site.