.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Increase Session Time Out in WSS 3.0 Form based Authentication Site

Posted By:      Posted Date: October 11, 2010    Points: 0   Category :SharePoint

How to increase session time out for form based authenticated shrepoint site ,

Default Sharepoint  time out is 30 min ...

I want session shuld expire after 120 min..


View Complete Post

More Related Resource Links

Changed to claims based authentication, now I can't access my site. Please help! Time is of the ess

I am in a pretty big bind. I have a sharepoint 2010 site, that was using classic windows authentication. It worked fine from the inside, and I was able to extend it to the outside and it was using https with an SSL certificate. However, my performancepoint reports and my external lists weren't working when the site was accessed from the outside. Apparently this is a known issue with using classic authentication on the outside, so I tried to switch over to claims based authentication. I followed this guide: http://blogs.technet.com/b/wbaer/ar...point-2010.aspx I obviously changed the contoso stuff to my domain name, and changed all of the config files. The problem is, now I can't access the site at all from the inside or the outside. Here is the error I get in my logs: code: An exception occurred when trying to issue security token: Could not connect to [url]http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas.[/url] TCP error code 10061: No connection could be made because the target machine actively refused it . My Sharepoint Central Administration site gives me this warning: code: The Security Token Service is not issuing tokens. The service could be malfunctioning or in a bad state. Remedy Administrator should try to restart the Security Token Service on the boxes where it is not issuing tokens. If problem persists, f

Form based authentication Sharepoint 2007 gets redirected to login page

Hi We have sharepoint 2007 site deployed on Windows server 2008, IIS 7.0.  We extended the web application to enable forms based authentication referring to link http://msdn.microsoft.com/en-us/library/bb975136(office.12).aspx#MOSS2007FBAPart1_Intro, we selected Kerberos instead of NTLM, behavior is like, when user tries to login into the site using OOB login.aspx, user again gets redirected to the login page. We tried to extend the web application again but this time we selected NTLM, but this time farm account (also is application pool identity) is not able login and exhibits same behavior as above, but for other users we are able to login. Has anyone come across this behavior? can anyone please guide me in correct the behavior? Regards, RK  Radhakrishna

Form Based Authentication with Custom database

Hi, I have a Sharepoint 2010 web application and I want to implement FBA(Form Based Authentication) for that. I don't want to use any membership providers and role providers. I have a SQL server database where we will maintain users and roles. I want to use this database for validating user credentials and authenticating them. Is this possible in Sharepoint 2010? Please reply ASAP.

SharePoint 2010 Claims Based Authentication - anonymous site is prompting for CBA auth when opening

Hi, I have CBA setup successfully on my sites.  One site is setup for anonymous access and I have disabled "client integration" on that web application. I have a list of MS Office documents on a wiki.  When I click on one I am asked to either save or open or cancel.  Saving works fine but when I choose open, it launches the associated MS Office app.  I am then prompted for a login from CBA.  I can click cancel and the logon screen appears again.  After clicking cancel the 2nd time the document appears in the MS Office app, Word in this case. My question is how do I prevent my users from being prompted for a CBA login when clicking on these files and opening them in the native app on their machine?      --TR

SP 2010 Form Based Authentication username begins with "i:0#.w|"

Hello there! For the life of me, i can't figure out why SharePoint keeps putting the phrase "i:0#.w|" infront of everyones username / accounts. Both on mysite and portal sites. A quick bing search revelaed that i am not the only one: http://fangdahai.blogspot.com/2010/06/i0w-is-still-there-in-sharepoint-2010.html. Anyone have a solution to fix this annoying problem? Thanks!

Form based Authentication - OpenLdap problem

Hi everyone,   I try to set up FBA with LdapMembership provider.   I have configured web app + STS like this : <add name="LDAPMember" type="Microsoft.Office.Server.Security.LdapMembershipProvider, Microsoft.Office.Server, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" server="server" port="389" useSSL="false" connectionUsername="uid=portal_sharepoint,ou=people,dc=corp,dc=contoso,dc=com" connectionPassward="somthing" userDNAttribute="distinguishedName" userNameAttribute="cn" userContainer="ou=people,dc=corp,dc=carrefour,dc=com" userObjectClass="person" userFilter="((eduPersonOrgUnitDN=cn=portal_sharepoint,ou=applications,ou=organizations,dc=corp,dc=contoso,dc=com))" scope="Subtree" otherRequiredUserAttributes="sn,givenname,cn" />   I can without problem use the people picker and get user information from it. But when i try to authenticate user i have an error that say : An exception occurred when trying to issue security token: The security token username and password could not be validated.   If i look my log on the ldap i see that all the time it's the portal dn that is used to authenticate user.   I

HTTP 403 Forbidden - After Configure with Form Based Authentication


Dear Expert,

My existing SharePoint Site authentication Provider is set to form based authentication.
While i try to access the site by using SharePoint Designer, it prompth me access denied message.
so i had temporary change the authentication to windows, then i able access to the site by SharePoint Designer.
( is it SharePoint Designer can access to the site in form based authentication, please advice )

After done to SharePoint Designer stuff, i had change back the form based authentication with the membership provider as before.
while i goto site collection administrator to change back the FBA Admin, i'm not able to access to FBA user list. (please advice)

While i try to browse the site, it show me this "HTTP 403 Forbidden" error message. (please advice)
i had check the web.config file. it should configure correctly.

Thanks in the advance!

Best Regards,





Form Based Authentication(FBA) with Oracle database

can anybody give me configuration details for share point Form Based Authentication with Oracle database

Setting Session variables at the time of login authentication


Dear Rahul,

I am having a website in which I am setting nearly 20 Session variables at the time of login authentication. ( Ex : Name, EmpID, Dept, Location, Email...).

Can u please tell which is one of the following is the better way to get Login user details 

 1) Through session variables at the time of login 

 2) In each and every page by calling the Stored Procedure to get login user details


Regards >> HemaBhushan 


Adding a second domain to windows authentication based web site


Hi All

I have an interweb web application that uses Active Directory to authenticate the user.
Im now getting some complaints that users on other domains are unable to access the application.

How can i make it work so that their domain name is also accepted by the application?

Getting HTTP 500 error while accessing sharepiont site with claims based authentication


I have configured one of my SharePoint sites default zone with windows authentication and claims authentication. I am able to access the site properly with windows authentication. But, when I am accessing the site with claims, I am getting Http 500 error. When I captured the http headers, I see below information.

Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: https://myhost/adfs/ls/?wa=wsignin1.0&wtrealm=urn%3amyhost%3aadfsupn&wctx=https%3a%2f%2fmyhost.moss.com%3a9696%2f_layouts%2fAuthenticate.aspx%3fSource%3d%252F
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: myhost.moss.com:9696
Content-Length: 5676
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: SPSessionGuid=d2cc8d44-e1a0-4412-9a9e-59a461c57eab


SharePoint Form Authentication site showing Error for few actions in Picture library.


I have extended my web application (with zone Extranet) and enabled Form Authentication, Enabled Client Integration and SSL.

My problem is: In my picture Library 

     1. Actions - Download/Send to actions are not working, getting error message: "Picture Manager is unable to open   pictures over the internet that are not from a windows SharePoint Services picture Library. Please specify a valid picture library and try again".

    2. Actions - Open with Windows explorer getting the error message:"Documents in this folder are not available. The folder may have been moved or deleted, or network problems may be preventing a connection to the server".

   3. In the Explorer view i am getting : "Please wait while Explorer View is loaded. If Explorer View does not appear, your browser may not support it".

But when I open the same library and do the above actions in default zone (port 80), it is working perfectly.

I have SharePoint service pack 1 and infr

WSS 3.0 Form Based Authentication & OWA on same web server?


Ok....I have Outlook Web Access (Exch2k3) configured using Form Based Authentication (FBA) on my frontend web server under the default iis site.  The web address is https://exchange.mydomain.com.....works perfect.


Now, I have a second iis site called SharePoint_Extranet.  This site is accessible from the web https://sharepoint.mydomain.com currently using integrated windows authentication to access.  This site uses a second IP address, with the different host header.


When I implemented “Forms” authentication in the Central Admin page in SharePoint....I selected my extranet web app......and the problems began.


Apparently, doing this stopped the OWA virtual server.....and now when I navigate to exchange.mydomain.com, it presented the SharePoint form instead....?


Since these are production systems, I immediately reverted the SharePoint back to windows authentication, and started my Exchange virtual servers back up....and all returned to normal.


My question is, can these 2 services both reside on the same iis web server using separate FBA?  If so, how can I implement it without interrupting service?


Any help would be greatly appreciated!

Form based Authentication


So I finally got FBA to work with my Active directory server.  A users authenticates fine.  The issue i have now is when I add a user for permission based on a group using people picker.  So, if I want to add a group for permission to a site in my AD and when one of those users in the group try to authenticate they get access denied.  I am 100% certain that the user is in the group but for some reason FBA will not look for the user within the group.  Anyone have a solution or can assist me with this I would appreciate it.

modified snippet web.config


    <add name="membership"
      type="Microsoft.Office.Server.Security.LdapMembershipProvider, Microsoft.Office.Server, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c"

Form based authentication on current web application SharePoint 2010



I have question about creating form based authentication. I want to have different authentication in the same web application in the same time. For now I have windows authentication and I want to extend it to Form base authentication. I follow procedure on link http://blog.summitcloud.com/2009/11/forms-based-authentication-sharepoint-2010-fb/ step by step but it doesn't work. Also when I try to change authentication in Central administration to Forms it is not possible because that option is disable. Is there any setup for overcome this issue.

Thank in advice.


How to deal with the elements in Claims Based form authentication mMembership?


We are migrating from SharePoint 2007 to 2010. We used to use Forms Authentication for our portal and have a custom login.aspx page for authentication. In this login.aspx page code, it detects new user and will automatically create a user in the membership provider.

However, in SharePoint 2010, System.Web.Security.Membership always points to the defaultProvider="i" which is the default membership provider that claims authentication provider forces.

So we are facing a big problem about how to create a user in the membership provider in the new login.aspx page. How can we handle this situation?

Create single custom login page for Windows Authentication and Form Based Authentication.


I want to create a custom login page for both Windows Authentication and Form Based Authentication.

I mean to I have to create only single login page for both authentication.

How can I create this kind of page?

G. Goyal
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend