473,407 Members | 2,306 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,407 software developers and data experts.

no timeout in form authentiation

hey, I'm trying to configure it so when users log in they don't ever have to
log in again from the same machine (okay, maybe within a month or something).
is there a way to do this with the standard asp.net 2.0 authentication
framework? Any help is appreciated
Feb 16 '06 #1
4 1190
Drag a login control into your form and enable RememberMeSet property!
That's all!

"npbuggia" <np******@discussions.microsoft.com> wrote in message
news:32**********************************@microsof t.com...
hey, I'm trying to configure it so when users log in they don't ever have
to
log in again from the same machine (okay, maybe within a month or
something).
is there a way to do this with the standard asp.net 2.0 authentication
framework? Any help is appreciated

Feb 16 '06 #2
I've tried this, and it will "Remember me" for about 30 minutes (aka what the
timeout var is set to) but it will forget me after that.

"Saber" wrote:
Drag a login control into your form and enable RememberMeSet property!
That's all!

"npbuggia" <np******@discussions.microsoft.com> wrote in message
news:32**********************************@microsof t.com...
hey, I'm trying to configure it so when users log in they don't ever have
to
log in again from the same machine (okay, maybe within a month or
something).
is there a way to do this with the standard asp.net 2.0 authentication
framework? Any help is appreciated


Feb 16 '06 #3
http://msdn.microsoft.com/library/de...aght000022.asp

To configure forms authentication, set the <authentication> element's mode
attribute to "Forms" and then configure your application's Web.config file
as shown in the following example.

<authentication mode="Forms">
<forms loginUrl="Login.aspx"
protection="All"
timeout="30"
name="AppNameCookie"
path="/FormsAuth"
requireSSL="false"
slidingExpiration="true"
defaultUrl="default.aspx"
cookieless="UseCookies"
enableCrossAppRedirects="false"/>
</authentication>
"npbuggia" <np******@discussions.microsoft.com> wrote in message
news:E7**********************************@microsof t.com...
I've tried this, and it will "Remember me" for about 30 minutes (aka what
the
timeout var is set to) but it will forget me after that.

"Saber" wrote:
Drag a login control into your form and enable RememberMeSet property!
That's all!

"npbuggia" <np******@discussions.microsoft.com> wrote in message
news:32**********************************@microsof t.com...
> hey, I'm trying to configure it so when users log in they don't ever
> have
> to
> log in again from the same machine (okay, maybe within a month or
> something).
> is there a way to do this with the standard asp.net 2.0 authentication
> framework? Any help is appreciated


Feb 17 '06 #4
joia
1
If you don't understand the question. Why do you try to answer it?

What we need to know is how to get "no timeout". Not 30 minutes og 40 minutes or 3 days, but no timeout.
Jun 26 '06 #5

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

Similar topics

11
by: HolaGoogle | last post by:
hi all, can you please tell me what i should do to avoid session timeout when displaying my database info in my asp form (DisplayUserDatabase.asp)??? ** actualy it does load and display the...
12
by: Geigho | last post by:
Setting session timeout in web.config file does not seem to have any effect. Any explanation or suggestion will be appreciated.
3
by: Carpe Diem | last post by:
Hello I have an aspx page that loses Session("user") value after a few minutes even after I set <sessionState mode="InProc" cookieless="false" timeout="300"> in web.config and wrote function...
1
by: Samuel Stanojevic | last post by:
- I'm using .NET Framework 1.1. I just noticed that whenever I change the value of Session.Timeout (no matter which aspx page this happens on), at the end of the request, the 'Session_End'...
4
by: Nick | last post by:
Hi I am a little stuck. I have a web app which uses cookieless session management. I would like to inform a user when their session has ended but cannot work out how to implement. I thought...
8
by: Joe Abou Jaoude | last post by:
hi, I have a web app with forms authentication and a timeout session of 20 mins for security reasons. I recently added a feature that allows users (if they want to) to automatically log in...
8
by: bdeviled | last post by:
I am deploying to a web environment that uses load balancing and to insure that sessions persist across servers, the environment uses SQL to manage sessions. The machine.config file determines how...
17
by: jensen bredal | last post by:
Hello, i'm struggling with a somehow badly understood session scenario. I provide acces to my pages based on form authentication using Session cookies. Som of my pages are supposed to be...
8
by: BBC1009 | last post by:
I have an application connected to an overseas sql-server using port 1433. But recently it always timeout the connection. Any solution to avoid this??? I am using the VB.net Windowed Form with...
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
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
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...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.