473,394 Members | 1,645 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,394 software developers and data experts.

Login Cookie


Hi

I would like to set the login cookie for longer than the default 20 minutes,
how can I do that?

Thank you,
Samuel
Aug 30 '07 #1
4 1183
<system.web>
<authentication mode="Forms">
<forms timeout="Time you want to"/>
</authentication>
</system.web>

"Samuel" wrote:
>
Hi

I would like to set the login cookie for longer than the default 20 minutes,
how can I do that?

Thank you,
Samuel
Aug 30 '07 #2
In minutes?
"Ghistos" <Gh*****@discussions.microsoft.comwrote in message
news:EE**********************************@microsof t.com...
<system.web>
<authentication mode="Forms">
<forms timeout="Time you want to"/>
</authentication>
</system.web>

"Samuel" wrote:
>>
Hi

I would like to set the login cookie for longer than the default 20
minutes,
how can I do that?

Thank you,
Samuel

Aug 30 '07 #3
Yes. In minutes.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Samuel" <sa************@ntlworld.comwrote in message news:OG**************@TK2MSFTNGP06.phx.gbl...
In minutes?
"Ghistos" <Gh*****@discussions.microsoft.comwrote in message
news:EE**********************************@microsof t.com...
><system.web>
<authentication mode="Forms">
<forms timeout="Time you want to"/>
</authentication>
</system.web>

"Samuel" wrote:
>>>
Hi

I would like to set the login cookie for longer than the default 20 minutes,
how can I do that?

Thank you,
Samuel


Aug 30 '07 #4
On Aug 30, 1:54 pm, Ghistos <Ghis...@discussions.microsoft.comwrote:
<system.web>
<authentication mode="Forms">
<forms timeout="Time you want to"/>
</authentication>
</system.web>

"Samuel" wrote:
Hi
I would like to set the login cookie for longer than the default 20 minutes,
how can I do that?
Thank you,
Samuel- Hide quoted text -

- Show quoted text -
Remember you can set the slidingExpiration attribute to true if you
want to reset the counter whenever the user connects.

Thanks,

Seth Rowe

Aug 30 '07 #5

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

Similar topics

1
by: RT | last post by:
I have followed the step by step instructions in the login manual Created login page Use LSC01 This works - login and get redirected to the proper page My problem is the cookie variables...
11
by: David W. Simmonds | last post by:
I have a form that will prompt for a user name/password. In VS.NET, I have the protected form in a folder named Admin. I have a Web.config file in that folder as well. It contains the following...
4
by: 23s | last post by:
I had this problem in the past, after a server reformat it went away, and now after another server reformat it's back again - no clue what's doing it. Here's the flow: Website root is public, no...
1
by: Jakob Lithner | last post by:
When I started a new ASP project I was eager to use the login facilities offered in Framework 2.0/VS 2005. I wanted: - A custom principal that could hold my integer UserID from the database -...
6
by: AppleBag | last post by:
I'm having the worst time trying to login to myspace through code. Can someone tell me how to do this? Please try it yourself before replying, only because I have asked this a couple of times in...
2
by: dougloj | last post by:
Hi. I have an ASP.NET application written in C#. To log in, a user must provide their email address and password. I already give the user a "Remember my Email Address" check box. If they check...
10
by: Victor | last post by:
hi guys. In my project, now I am using a asp.net login control and a customized membership provider to do the form authentication. Now I want some function that user can skip the login form and be...
20
by: luqman | last post by:
If user login with the login control in ASP.Net 2005 and then just close the browser and then open the browser again, the login status shows, User still Login? Any idea, how to Logout the User...
9
by: Josh | last post by:
I run a Joomla website and am familiar with php in some but not all aspects. Currently I am trying to find some solutions related to session handling. Am I correct in saying that "login" is kept...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.