473,805 Members | 2,143 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 1350
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
5300
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 (document.cookie.length > 0) { cookieStatus = 'Cookie exists with value ' + document.cookie; } else {
12
18024
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 have guessed that this will be used for public access pc's.) I want to try as best I can to catch...
1
3602
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 simple but I cannot find simple examples of a cookie doing anything similar to this. I found oodles...
11
6046
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
951
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 machine to fill out the same Form. Citing this example, how do I find out how many times had Nancy (not...
4
8166
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 button to return to form entry page 6. All the form data that the user had filled out is now blank...
4
11440
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 time. Is this a flaw in the XMLHTTP Object? How can I force the session to remain the same after a...
4
2876
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 I dont know why PHP is not picking up the session after I reload.. I have tried the usual suspects...
0
9596
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10363
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10368
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10107
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7649
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5544
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3846
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.