I feel that destroying a prefectly good session is the wrong way to go about things. Its great for application built on ASP 2.0, but not for ASP 3.0 applications.
Session.Abandon just destroys your current session and starts a new session. Why do all that work and make the server create a new session, when you can just use your current session, but clear all of its data, so you can have logout and such. Session.Contents.RemoveAll() will to the exact same thing as Session.Abandon with one exception, no new session is created! If you just want to remove on Session variable then Session.Contents.Remove(variableName) Regards, John --- In [EMAIL PROTECTED], "rajatkhattar" <[EMAIL PROTECTED]> wrote: > hi > i m a new programmer to ASP > I m working in ASP with SQL as BackEnd > I m working with a server Inventory Project! > > During LogOut i just redirect my browser to next page,but the > previous page is not expired. > > please tell me the code by which the LogOut form could get expired. > > it shall be a great help if somebody solves my problem > > > Rgds > RajatKhattar > +919818749949 ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
