Hi Mr.John
 
thanks for the help you have given to me, and i m glad to tell you that i have 
completed my project by applying the session.removeall() successfully.
 
keep on writting and guiding me regarding anthing new in ASP.
 
Anyways i am trying for the new incoming technology i.e: ASP.net
 
Its coming with a wider scoppe.
 
Keep on writting
 
Regards
Rajat Khattar
 
 


John Shepard <[EMAIL PROTECTED]> wrote:
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 SponsorADVERTISEMENT


---------------------------------
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 the Yahoo! Terms of Service. 


                
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/
 

Reply via email to