473,568 Members | 3,014 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form indetification session expires to early

Hi
Working on a project that requires Form authentication. My client reports
that he is thrown out to log in page every 5-10 min. I can't understand why.
I don't get the same behavior on my machine.

The web.config file looks like this
<authenticati on mode="Forms" >

<forms name=".OURCOMPA NYEmployee"
loginUrl="login .aspx"
protection= "All"
timeout="30"
path="/"
slidingExpirati on="true" />
</authentication>

<authorizatio n>
<deny users="?"/>
</authorization>

Any ideas?

Thanks,
Shimom
Nov 18 '05 #1
1 1340
Hi Shimon,

As for the problem that some of your customer found your formauth based web
application will make them logout within 5-10 miniutes which is much less
than the value you set in the web.config. I think this is a possible issue
with formauthenticat ion, because the ASP.NET's formsauthentica tion is
cookie based by default. This means the user's authentication token is
stored in the client user's cookie. And as we know, the clientside's
browser has its cookie privacy which determine the clientside browser how
to treat the cookie from remote site. Since different client may has
different browser and also may have different cookie privacy setting( maybe
restrict than normal level or maybe has applied some certain additional
features), these all will result to
different behavior when visit a cookie based site. As for the cookie
privacy in IE6 and providing a cookie privacy policy in IIS here are some
certain references:

#The Default Privacy Settings for Internet Explorer 6
http://support.microsoft.com/default...b;en-us;293222

#HOW TO: Configure IIS To Use Platform for Privacy Preferences (P3P)
http://support.microsoft.com/default...b;en-us;324013

Also, here is a former thread which discussing on the related infos:
#Subject: General Enquiry on Privacy Policy
http://groups.google.com/groups?hl=e...readm=y97K%24K
f5DHA.3736%40cp msftngxa07.phx. gbl&rnum=1&prev =/groups%3Fq%3Dpr ivacy%2Bsteven
%2Bcheng%26ie%3 DUTF-8%26oe%3DUTF-8%26hl%3Den

Hope also helps. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #2

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

Similar topics

4
5281
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 cookie. Here is the code I have now. In the header, I have the following: <SCRIPT language="JavaScript"> var cookieStatus; if...
12
17962
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 home page during their time using the browser. However, if the user closes the browser, then reopens, the pop-up should appear again. (you may...
1
3587
by: Jenn | last post by:
I have done alot of web work in all sorts of languages but I have never used the simple cookie. Question is How does one set and retrieve a simple session cookie. All it will do is have an image change on 1 page only with every new visitor, there are 5 images it should be random and stay the same unless the session is ended. Sounds pretty...
11
6029
by: Jennifer | last post by:
Is there a way to check for to see if the user has session cookies enabled? I know how to check to see if they have cookies in general enabled, but how do you test for just session cookies? Thanks Jen
2
346
by: Shimon Sim | last post by:
Hi Working on a project that requires Form authentication. My client reports that he is thrown out to log in page every 5-10 min. I can't understand why. I don't get the same behavior on my machine. The web.config file looks like this <authentication mode="Forms" > <forms name=".OURCOMPANYEmployee" loginUrl="login.aspx"
3
946
by: Arpan | last post by:
How do I find out how many times a Web Form has been posted by one SINGLE user within the SAME SESSION? For e.g. suppose a user named Nancy is filling out a Web Form. Due to some reasons or the other, she has to post the same Form 4 times after which she winds up. She leaves i.e. her session expires & another user, say, Simon sits on the same...
4
8146
by: jwlum | last post by:
I have the following problem under Internet Explorer only: 1. User fills out form data (myform.php) and clicks a button that fires myFunction() 2. myFunction() spawns a "hello, world" popup page via window.open 3. myFunction() submits the main page's form via document.form.submit() 5. User closes popup window and clicks browser's Back...
4
11412
by: mike.biang | last post by:
I have an ASP page that is using an XMLHTTP object to request various pages from my server. I keep a single session throughout the XMLHTTP requests by bassing the ASPSESSIONID cookie through the XMLHTTP object. However, when the page requested through the XML object makes a <%Response.Redirect()%> call, a new session is created each...
4
2863
by: rgparkins | last post by:
Hello I am running out of time with a problem I have running PHP 5.04 and Apache 2.0 and really need help :(. I have a page that stores a variable in session but each time I reload that page the session seems to be re-created and is an empty array. I have checked the session file and the variable is being stored against the session id, but...
0
7605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8118
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7665
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6277
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5501
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.