This is a discussion on How to clear Session within the C# Programming forums, part of the Software Development category; Hey, am trying to delete the previous session using the 'Session.Abandon' method to remove the browser and server cache ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hey, am trying to delete the previous session using the 'Session.Abandon' method to remove the browser and server cache to delete the cached contents. but it didn't worked for me.. please let me know, if anybody faced this issue earlier... Thanks in advance
__________________ J.Saravanan |
| Sponsored Links |
| |||
| Hi saravanan, Its very easy to clear the session. Here is the code to clear the session Session.Clear() ; //thats it.Your session is cleared. Cheers ![]()
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| Hi The major difference is that if you call Session.Abandon(), Session_End will be fired (for InProc mode), and in the next request, Session_Start will be fired. Session.Clear( ) just clears the session So use Session.Clear( ). thx Kiruthika |
| |||
| Hi Friends, FYI: am using SQL caching in my site, i used Session.Abandon(),Session.Clear() and Session.Remove() all together, but nothing worked for me... but sometimes it founds to be working fine... its we are confusing why happened like this.... Thanks
__________________ J.Saravanan |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| clear screen the command mode? | saravanan | Java Programming | 2 | 03-21-2008 05:42 AM |
| How to clear HTTP Cache Content? | senraj | PHP Programming | 3 | 11-01-2007 07:47 AM |
| How to clear all the textboxes in my form in ASP DOT NET and C#? | a.deeban | ASP and ASP.NET Programming | 3 | 09-20-2007 07:23 AM |
| Destroy session using session ID | Jeyaseelansarc | PHP Programming | 1 | 09-07-2007 07:42 AM |
| how to clear the http cookies in asp.net | GDevakii | ASP and ASP.NET Programming | 2 | 08-09-2007 07:29 AM |