Ask a Question related to ASP.NET General, Design and Development.
-
venkat #1
Cookie
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
application,>-----Original Message-----
> when we use login page in every asp.net webwe>we will be told by books or articles, saying that afterdeleted,>login in using the login page, the username and password
>will be stored as cookie if we use RedirectFromLoginPage
>method, and after we sign out, the cookie will beto>or we can set the timeout for the period of storing the
>cookie. what does it actually mean? let say i login inknows>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 itthanks>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,>.
>venkat Guest
-
HTTP::Cookie won't store sent cookie
Hi all, My script requests http://foo.bar.com/ with code that looks a little like this: my $ua = LWP::UserAgent->new; my $cookie_jar =... -
get cookie through img src
I can't get cookie information from domainx.com in this setup. The visitor follows this clickpath: domainx.com (SETcookie.php) -> domainy.com... -
Why my cookie die ??:(
Hi I have another problem, this time my cookie die, dont know why :(. In my code on first page I set cookie something like this <?php... -
Cookies set one time, I delete cookie, cookie is never set again!
I am having this problem: My PHP script will set a cookie, it's there in my /Cookies folder. I delete the cookie (I have to for testing purposes,... -
authentication cookie vs session cookie
Hi, What are the differences between authentication and session cookies? In my web.config file, I set the cookieless attribute for the... -
Machi #2
Cookie
Sorry for any confusion which i have made. But what i have
tested is that, i need to login again everytime i close
the browser directly.
>-----Original Message-----
>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
>
>
>
>>application,>>-----Original Message-----
>> when we use login page in every asp.net web>we>>we will be told by books or articles, saying that after>deleted,>>login in using the login page, the username and password
>>will be stored as cookie if we use RedirectFromLoginPage
>>method, and after we sign out, the cookie will be>to>>or we can set the timeout for the period of storing the
>>cookie. what does it actually mean? let say i login in>knows>>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>thanks>>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,>.>>.
>>
>Machi Guest
-
Nikunj Patel #3
Re: Cookie
Are you using RedirectfromLogin("username", boolean) ??
What is the value of the boolean ??? If it is true then it will store a
cookie else it just makes a temporary session and not make a permanent
cookie.
If you want the login to be valid even after the user closes his browser
then set the boolean value to true, else set it to false. The credentials
will be destroyed once the browser is closed or when you call the signout
function.
HTH,
NP
"Machi" <pangts@yahoo.com> wrote in message
news:076501c33c81$d69da810$a601280a@phx.gbl...> Sorry for any confusion which i have made. But what i have
> tested is that, i need to login again everytime i close
> the browser directly.
>> >-----Original Message-----
> >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
> >
> >
> >
> >> >application,> >>-----Original Message-----
> >> when we use login page in every asp.net web> >we> >>we will be told by books or articles, saying that after> >deleted,> >>login in using the login page, the username and password
> >>will be stored as cookie if we use RedirectFromLoginPage
> >>method, and after we sign out, the cookie will be> >to> >>or we can set the timeout for the period of storing the
> >>cookie. what does it actually mean? let say i login in> >knows> >>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> >thanks> >>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,> >.> >>.
> >>
> >
Nikunj Patel Guest
-
Frank Beerens #4
cookie
Hello
when executing this
$sValidate=md5(rand(0,99999));
setcookie('validate',$sValidate,time()+60*60*24*7, '/','www.test.nl');
there should be a cookie file on my pc. But there is none. Can anybode help
me.
thanks Frank
Frank Beerens Guest
-
Tyrone Slothrop #5
Re: cookie
On Fri, 5 Mar 2004 22:11:52 +0100, "Frank Beerens"
<FrankEnSonja2@zonnet.nl> wrote:
Is the servertime accurate? I recently had a problem where a tech>Hello
>
>when executing this
>
> $sValidate=md5(rand(0,99999));
> setcookie('validate',$sValidate,time()+60*60*24*7, '/','www.test.nl');
>
>there should be a cookie file on my pc. But there is none. Can anybode help
>me.
>
>thanks Frank
>
screwed up the time on the server (by 8 years!) and cookies stopped
working.
Tyrone Slothrop Guest



Reply With Quote

