473,395 Members | 1,386 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

ASP.NET - How to stay logged in until browser closes?

i'm using forms authentication. i would like for a user to be logged in until
they close the browser. The FormsAuthentication.RedirectFromLoginPage method
takes the parameter createPersistentCookie. For some reason i thought this
meant it either wrote a cookie that lasted for 50 years or a cookie that
existed until the browser closed. Apparently i guessed wrong

If i set createPersistentCookie to false, i am logged out after 20 minutes.
i can't find a way to change this. i originally worried that it was the
SessionTimeout value, either for the IIS virtual directory or from the
web.config but i've changed those parameters up and down with no effect

Needless to say, our users are furious. Hit the save button and pow, you've
lost all your data and have been kicked out of the system without warning

Anyone know how i stay logged in until the browser closes?

-baylor
Sep 1 '05 #1
0 2025

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: dr. zoidberg | last post by:
Hello, I have created simple login sistem. I'm using sessions and they expire after I close my browser. How can I stay loged after I have closed my browser window? I know I should use cookies,...
4
by: vesely | last post by:
Hi all, I'm currently relying on logged-in users hitting "logout" (logoff) before they leave, in order to terminate the session. With PHP the session filename is in a cookie that lasts for the...
4
by: Guy | last post by:
I'd like so that when a user moves there mouse over an image (or clicks the image, either way it doesn't matter), I'd like some text to appear. I was going to use the img tag with the alt...
4
by: Adam | last post by:
Greetings, I am creating a web application, which I will be selling licenses to be able to use it. So Customer Group A, could purchase 3 licenses, Customer Group B could purchase 30. With...
1
by: Harman | last post by:
Hi, I have an ASP.NET application in which if a user has logged in with a set of credentials then i do not want to allow another user to log-in with the same credentials. For this i am...
2
by: dhnriverside | last post by:
Hi guys I'm trying to create an updated list of which of my AD users are logged onto each computer - there's about 29 computers and we use hotdesking! I'm using Windows Integrated...
0
by: baylor | last post by:
i'm using forms authentication. i would like for a user to be logged in until they close the browser. The FormsAuthentication.RedirectFromLoginPage method takes the parameter...
5
by: Benedictum | last post by:
I need to implement an option to display on the web page for users currently logged in. How do I implement this in ASP.NET (c#). I could probably have a boolean field in the database where a user...
1
by: oct08 | last post by:
Hi all, I'm trying to trouble shoot an issue where I am running an Access/VBA app, which grabs some data and puts it into a few text files. It usually takes 10 minutes to run (though after even a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.