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 -----Original Message----- when we use login page in every asp.net web
application,we will be told by books or articles, saying that after
welogin 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
deleted,or we can set the timeout for the period of storing the cookie. what does it actually mean? let say i login in
toone 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
knowswhen 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,
thanks. 2 2598
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
-----Original Message----- when we use login page in every asp.net web application,we will be told by books or articles, saying that after welogin 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 deleted,or we can set the timeout for the period of storing the cookie. what does it actually mean? let say i login in toone 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 knowswhen 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, thanks. .
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" <pa****@yahoo.com> wrote in message
news:07****************************@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
-----Original Message----- when we use login page in every asp.net web application,we will be told by books or articles, saying that after welogin 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 deleted,or we can set the timeout for the period of storing the cookie. what does it actually mean? let say i login in toone 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 knowswhen 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, thanks. . This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Shannon Jacobs |
last post by:
I'm doing some trivial surveys, and I want to know if the same user
answers twice. Can't really know that, but at least I thought I could
check for the same browser/computer combination by using a...
|
by: chrism |
last post by:
Hello,
I have a pop-up window that I would like to appear in front of the
browser home page when a user opens IE. Problem is, I'd like it to
never appear again if the user navigates back to the...
|
by: brettr |
last post by:
When I reference document.cookie, there is a long string of key=value;
pairs listed. I may have 100 hundred cookies on my hard drive.
However, most only have one key=value pair. Does the...
|
by: socialism001 |
last post by:
I'm trying to store a value in a cookie but its not working. Can
anyone see what I might be doing wrong.
Thanks,
Chris
~~~~~~~~~~~~~~~~~~
<script language="javascript">...
|
by: Marco Krechting |
last post by:
Hi All,
I have a page with a list of hyperlinks.
I want to save information in a cookie about the fact that I entered an
hyperlink or not.
When I click one of the hyperlinks I want this stored...
|
by: Wysiwyg |
last post by:
After a server created cookie is processed on the client I want it removed,
cleared, or expired in the javascript block but have been unable to do this.
If I set a cookie value in the server code...
|
by: CR1 |
last post by:
I found a great cookie script below, but don't know how to make it also pass the values sent to the cookie, to a querystring as well for tracking purposes. Can anyone help? If there was a way to...
|
by: kelvlam |
last post by:
Hello all,
I'm still a bit new with JavaScript, and I hope the guru here can shed
some light for me. It's regarding handling cookie and the
case-sensitive nature of JavaScript itself.
My...
|
by: kelly.pearson |
last post by:
Is this a bug? I am trying to write a cookie that can be accessed by
various .Net applications on our domain. However, whenever I add the
domain property to the cookie, no errors get thrown but...
|
by: cbhoem |
last post by:
Hi -
I am trying my hand at python cookies. I'm confused about a few
things though. Do the python cookies get written to a cookies text
file? I have simple code below -- I see the cookie in...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |