hi
If you close the browser directly then the cookie won't
get deleted. When ever you log off only it will get
deleted. If you close the browser directly and again the
open the browser for the same URL directly it will
display as logged in page.
regards
G.Venkat
[color=blue]
>-----Original Message-----
> when we use login page in every asp.net web[/color]
application,[color=blue]
>we will be told by books or articles, saying that after[/color]
we[color=blue]
>login in using the login page, the username and password
>will be stored as cookie if we use RedirectFromLog inPage
>method, and after we sign out, the cookie will be[/color]
deleted,[color=blue]
>or we can set the timeout for the period of storing the
>cookie. what does it actually mean? let say i login in[/color]
to[color=blue]
>one web application, after that, i close my browser, the
>cookie should be deleted from the user's pc ?? if yes,
>then what actually trigger the user's PC so that it[/color]
knows[color=blue]
>when to delete the cookie from the user's pc ?? if we
>close the browser, how can the IIS Server (where ASP.nET
>web application hosts) will know how to trigger the
>elimination of cookie in user's pc ??? please help,[/color]
thanks[color=blue]
>.
>[/color]
If you close the browser directly then the cookie won't
get deleted. When ever you log off only it will get
deleted. If you close the browser directly and again the
open the browser for the same URL directly it will
display as logged in page.
regards
G.Venkat
[color=blue]
>-----Original Message-----
> when we use login page in every asp.net web[/color]
application,[color=blue]
>we will be told by books or articles, saying that after[/color]
we[color=blue]
>login in using the login page, the username and password
>will be stored as cookie if we use RedirectFromLog inPage
>method, and after we sign out, the cookie will be[/color]
deleted,[color=blue]
>or we can set the timeout for the period of storing the
>cookie. what does it actually mean? let say i login in[/color]
to[color=blue]
>one web application, after that, i close my browser, the
>cookie should be deleted from the user's pc ?? if yes,
>then what actually trigger the user's PC so that it[/color]
knows[color=blue]
>when to delete the cookie from the user's pc ?? if we
>close the browser, how can the IIS Server (where ASP.nET
>web application hosts) will know how to trigger the
>elimination of cookie in user's pc ??? please help,[/color]
thanks[color=blue]
>.
>[/color]
Comment