>I have a web site use ASP ( VB script ).
>The Login use a cookie to store the user right for the login user.
>each page check this cookie and then hidden some function of the page base on
>their user right.
>But I have a problem is that I can't expire that cookie after logout the site.
>So if a admin user login after that logout. The normal user login will find that it user admin user right because the admin user cookie still alife . ( only happen in IE . Netscape haven't got that problem )
>
>Is there any sugguestion other then using cookie ?
>Or am I wrong using the cookie or wrong coding in expire the cookie after
>logout ?
Hi,
If you don't set any expiry date at all, then the cookie becomes a 'memory only' cookie and will be deleted when the use closes their browser.