<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'Authenticate'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Authenticate&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'Authenticate'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Secure Login Folder</title><link>http://forums.asp.net/thread/3490375.aspx</link><pubDate>Mon, 02 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3490375</guid><dc:creator>Aung Phyo Win</dc:creator><description>&lt;p&gt;Dear all,&amp;nbsp;&lt;/p&gt;&lt;p&gt;What i want to do is that I have a login page called default.aspx and after login for the authorized user i want to redirect the home.aspx inside the secure folder named securedfolder.&amp;nbsp;&lt;/p&gt;&lt;p&gt;But whenever i made it redirect, it would be back to the default page. if i can redirect it the home page, i want to retrieve the userid. Thanks. The following is my code&lt;/p&gt;&lt;p&gt;&lt;b&gt;web config. file&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;lt;authentication mode=&amp;quot;Forms&amp;quot;&amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;forms loginUrl=&amp;quot;Default.aspx&amp;quot; name=&amp;quot;.ASPNETAUTH&amp;quot;&amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/forms&amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/authentication&amp;gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;authentication mode=&amp;quot;Forms&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;forms loginUrl=&amp;quot;Default.aspx&amp;quot; name=&amp;quot;.ASPNETAUTH&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/forms&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/authentication&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;default.aspx file&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;If myUser.IsValidUser(txtUserName.Text.Trim, txtPassword.Text.Trim) = True Then&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FormsAuthentication.RedirectFromLoginPage(&amp;quot;~/SecureFolder/home.aspx&amp;quot;, False)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Else&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lblInvalid.Text = &amp;quot;Invalid User Name or Password&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;webconfig inside secure folder&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="font-weight:normal;"&gt;&amp;lt;system.web&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="font-weight:normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;authorization &amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="font-weight:normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;deny users =&amp;quot;?&amp;quot;/&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="font-weight:normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/authorization&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="font-weight:normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/system.web&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/b&gt;&lt;/p&gt;</description></item><item><title>Send basic authentication to an iFrame programmatically</title><link>http://forums.asp.net/thread/3396185.aspx</link><pubDate>Wed, 09 Sep 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3396185</guid><dc:creator>outerringz</dc:creator><description>&lt;p&gt;I&amp;#39;m am working on an asp.net C# project where I&amp;#39;m trying to pass basic authentication credentials to a site programmatically, then display the authenticated page in an iFrame. The programmatic authentication is working, but I can&amp;#39;t figure out how to, or if it&amp;#39;s even possible to link that session to an iFrame. Here is what I have so far:&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="c-sharp"&gt;HttpWebRequest Request = (HttpWebRequest)WebRequest.Create(&amp;quot;https://siteaddress&amp;quot;);&lt;br /&gt;Request.AllowAutoRedirect = false;&lt;br /&gt;Request.Credentials = new System.Net.NetworkCredential(&amp;quot;username&amp;quot;, &amp;quot;password&amp;quot;);&lt;br /&gt;HttpWebResponse Response = (HttpWebResponse)Request.GetResponse();&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;I don&amp;#39;t know if this is even possible, but any help anyone can provide that gets me closer, or confirms this isn&amp;#39;t possible, is appreciated.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How to View my Website that is publish in my personal computer.</title><link>http://forums.asp.net/thread/3349942.aspx</link><pubDate>Sat, 15 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3349942</guid><dc:creator>DevNet2009</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi to all,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; How to view my Website that I created and publish to my desktop and to show it to my friend. I mean i will demo it to my friend. My OS is Vista 64Bit . I already installed the IIS. I already tested it to my browser and its ok. My question is How do i show it to him. My desktop is in our house and i want to show him / or access it &amp;nbsp;while we are in the Office. How do that.&amp;nbsp; I develop it in C# asp.net and SQL Server 2005. &lt;/p&gt;
&lt;p&gt;Please Help. &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>FormsAuthentication.SignOut don’t work on the firefox 3</title><link>http://forums.asp.net/thread/3325913.aspx</link><pubDate>Sun, 02 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3325913</guid><dc:creator>ebattulga</dc:creator><description>&lt;div&gt;
&lt;p&gt;I&amp;#39;m using this code in login page. This is work fine.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;FormsAuthenticationTicket&lt;/span&gt;&lt;span&gt; ticket &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;new&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;FormsAuthenticationTicket&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;// Ticket version&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;eUserName&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;Text&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;DateTime&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;Now&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;DateTime&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;Now&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;AddMinutes&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;30&lt;/span&gt;&lt;span&gt;),&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;administrator&amp;quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;FormsAuthentication&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;FormsCookiePath&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;string&lt;/span&gt;&lt;span&gt; hash &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;FormsAuthentication&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;Encrypt&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;ticket&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;HttpCookie&lt;/span&gt;&lt;span&gt; cookie &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;new&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;HttpCookie&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;FormsAuthentication&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;FormsCookieName&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hash&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;// Set the cookie&amp;#39;s expiration time to the tickets expiration time&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;if&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;ticket&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;IsPersistent&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt; cookie&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;Expires&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; ticket&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;Expiration&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;// Add the cookie to the list for outgoing response&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;Response&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;Cookies&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;Add&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;cookie&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;Response&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;Redirect&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;Default.aspx&amp;quot;&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;But when i logout using FormsAuthentication.SignOut or
asp:LoginStatus control this is don&amp;#39;t logout. this seems logged on.
When i testing on the internet explorer 8, this successfully logout.&lt;/p&gt;
&lt;p&gt;What happing on the firefox?
How can i do fix this problem?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;ebattulga&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Authentication cookie question</title><link>http://forums.asp.net/thread/3288582.aspx</link><pubDate>Sun, 12 Jul 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3288582</guid><dc:creator>jalpesh.patel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I&amp;#39;m sorry if I&amp;#39;m posting this again. I tried searching for it and couldn&amp;#39;t find anything.&lt;/p&gt;&lt;p&gt;I have a problem with my authentication cookie being over written when the number of cookies get more than the number supported by the browser.&lt;/p&gt;&lt;p&gt;I ran a test on my browser and found that it supports 50 cookies for a site. This inclues my authentication cookie. Now during the navigation, if the number of cookies exceeds 50, the oldest is overwritten by default. And in this case it my auth cookie. After this if I try navigating to any other page, I&amp;#39;m redirected to the login page with the message stating my session has expired.&lt;/p&gt;&lt;p&gt;Is there a way to avoid overwritting the auth cookie. Or do I have to reduce the number of cookies that I write?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Jalpesh.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Basic Question on Authentication </title><link>http://forums.asp.net/thread/3240463.aspx</link><pubDate>Wed, 17 Jun 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3240463</guid><dc:creator>HarpreetSinghWalia</dc:creator><description>&lt;p&gt;Hi I am a newbie and my question is very basic. &lt;/p&gt;
&lt;p&gt;In Windows authentication I can use Integrated authentication/ Digest/Basic etc. Now, each of them vary depending upon how the userid/password is sent over to webserver. In Integrated it will be encrypted , basic will plain text etc&lt;/p&gt;
&lt;p&gt;My question is :&lt;/p&gt;
&lt;p&gt;When a client&amp;nbsp;request to webserver. It doesnot know what kind of authentication is being used by webserver. So how client will get to know in which format to send the userid/pasword to webserver ? or client will first send a request to webserver and webserver will respond back and will tell client the format in which it wants the userid/password ?&amp;nbsp; Whats the real thing heppening ? How this communication takes place?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;My next question is : If I have placed my webservices to Layouts folder inside &amp;quot;web service extension&amp;quot; folder . Now, When request will hit thi swebservice .. will it contain any user id telling which user sent the request ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to browse a network share on a remote server in C#?</title><link>http://forums.asp.net/thread/3125759.aspx</link><pubDate>Tue, 28 Apr 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3125759</guid><dc:creator>bmc</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I am trying to access a remote server (IIS Server) to get a directory listing of the files from a network share on a separate file server.&amp;nbsp; I simply wish to list the files in a drop down list.&amp;nbsp; I am using&amp;nbsp;Windows authentication with identity impersonate=true in my web.config file.&amp;nbsp; I have my domain logon set up under active directory granted with appropriate (read/write/browse) access to the directory.&amp;nbsp;&amp;nbsp;My code works when I am logged directly onto the IIS server.&amp;nbsp; But when I attempt to access&amp;nbsp;the IIS server&amp;nbsp;remotely (i.e. logged into my pc and keying in the URL: &lt;a href="http://iisserver/myProject"&gt;http://IISServer/myProject&lt;/a&gt;), then attempt to browse the directory files, I receive the error message &amp;quot;Could not find a part of the path&amp;quot;.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;My IIS Server is .Net 1.1&amp;nbsp;&amp;nbsp;using&amp;nbsp; IIS 5.1&amp;nbsp; under Windows 2000 SP4.&amp;nbsp; How can I find what user my IIS server using to authenticate/authorize when attempting to access the network share?&amp;nbsp; How can I open up access to this share so I can see the files?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any help will be appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Help, please, with &amp;quot;Login failed&amp;quot; - Forms Authentication</title><link>http://forums.asp.net/thread/3088897.aspx</link><pubDate>Tue, 14 Apr 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3088897</guid><dc:creator>jct.maf</dc:creator><description>&lt;p&gt;After days of trying to make Windows authentication work, I&amp;#39;ve switched to Forms. I&amp;#39;ve followed the tutorial and my login.aspx works when I preview from Visual Web Developer (using 2008 Express, w/ VB pages). However, I have 2 problems and am going round in circles trying to debug...&lt;/p&gt;&lt;p&gt;1)&amp;nbsp; When I try logging in straight from the browser (with either user name), I get an error:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server Error in &amp;#39;/int_WIP&amp;#39; Application.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cannot open user default database. Login failed.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Login failed for user &amp;#39;ENGINNER13\ASPNET&amp;#39;. &amp;nbsp; &amp;nbsp;&amp;nbsp; (&amp;quot;Enginner13&amp;quot; is my computer name) &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; An unhandled exception was generated during the execution of the current web request.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Information regarding the origin and location of the exception can be identified&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using the exception stack trace below.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I don&amp;#39;t yet know how to debug by reading through the Stack Trace. Any ideas? I can post it, if needed.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2)&amp;nbsp; Using the Web Site Administration Tool, I created roles for various folders in the web site, which represent company departments (I&amp;#39;m creating an Intranet). I created access rules which allowed only corresponding roles to access the department folder, eg: Admin (role) accesses Admin (folder). I set the user &amp;quot;Janice to access all roles and &amp;quot;test&amp;quot; to access only &amp;quot;Electric&amp;quot;, &amp;quot;Eng&amp;quot; and &amp;quot;Fab&amp;quot;.&lt;/p&gt;&lt;p&gt;I have Security Trimming enabled. Logging in from preview in VWD, &amp;quot;Janice&amp;quot; has access to all of the menu, which is fine. Logging in as &amp;quot;test&amp;quot; should have &amp;quot;Home&amp;quot;, &amp;quot;Lookup&amp;quot; as well as &amp;quot;Electric&amp;quot;, &amp;quot;Eng&amp;quot; and &amp;quot;Fab&amp;quot;, but only shows &amp;quot;Home&amp;quot; and &amp;quot;Lookup&amp;quot;.&lt;/p&gt;Much thanks for any assistance,&lt;br /&gt;&lt;p&gt;Janice &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Users are experiencing login problems...I believe cookie is not being created</title><link>http://forums.asp.net/thread/3061330.aspx</link><pubDate>Fri, 03 Apr 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3061330</guid><dc:creator>Nate Dogg</dc:creator><description>&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:13px -webkit-monospace;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0;"&gt;Many of my site users are complaining about not being able to login. They enter their username and password (I have verified that they are using the correct credentials) and they are redirected right back to the Login page. This doesn&amp;#39;t affect all of my users. I have had them change security and privacy settings in IE and they still get the same result.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:13px -webkit-monospace;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0;"&gt;For some of the users, we have had them download and install Firefox and then they don&amp;#39;t get the error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:13px -webkit-monospace;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0;"&gt;Below is the code that I use in my login.aspx page and was hoping that some of you might be able to verify that my code is accurate, or identify something that might be causing this problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:13px -webkit-monospace;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0;"&gt;&amp;nbsp;&lt;pre class="coloredcode"&gt;&lt;span class="kwd"&gt;If&lt;/span&gt; (passwordVerified) &lt;span class="kwd"&gt;Then
            If&lt;/span&gt; dtg.IsAccountDisabled(Session(&lt;span class="st"&gt;&amp;quot;varLeaderUserNo&amp;quot;&lt;/span&gt;)) &lt;span class="kwd"&gt;Then&lt;/span&gt;
                Login1.FailureText = &lt;span class="st"&gt;&amp;quot;You account is disabled.  Please e-mail support for more information.&amp;quot;&lt;/span&gt;
            &lt;span class="kwd"&gt;Else
                Try&lt;/span&gt;
                    LoginHelp.UpdateLastLogin(Login1.UserName)
                    Session(&lt;span class="st"&gt;&amp;quot;varLeaderUsername&amp;quot;&lt;/span&gt;) = Login1.UserName

                    FormsAuthentication.SetAuthCookie(Login1.UserName, &lt;span class="kwd"&gt;True&lt;/span&gt;)

                    &lt;span class="kwd"&gt;Dim&lt;/span&gt; cookie &lt;span class="kwd"&gt;As&lt;/span&gt; HttpCookie = Request.Cookies(&lt;span class="st"&gt;&amp;quot;CSUserProfile&amp;quot;&lt;/span&gt;)
                    &lt;span class="kwd"&gt;If&lt;/span&gt; cookie &lt;span class="kwd"&gt;Is Nothing Then&lt;/span&gt;
                        cookie = &lt;span class="kwd"&gt;New&lt;/span&gt; HttpCookie(&lt;span class="st"&gt;&amp;quot;CSUserProfile&amp;quot;&lt;/span&gt;)
                    &lt;span class="kwd"&gt;End If&lt;/span&gt;

                    cookie.Domain = &lt;span class="st"&gt;&amp;quot;mydomainname.com&amp;quot;&lt;/span&gt;
                    cookie(&lt;span class="st"&gt;&amp;quot;Email&amp;quot;&lt;/span&gt;) = dtg.GetEmailAddressByUserNo(dtg.GetUserNoFromUsername(Login1.UserName))

                    RegDTG = dtg.IsLeaderRegisteredForDutyToGod(dtg.GetUserNoFromUsername(Login1.UserName))
                    RegScout = dtg.IsLeaderRegisteredForScouting(dtg.GetUserNoFromUsername(Login1.UserName))

                    &lt;span class="kwd"&gt;Dim&lt;/span&gt; rolesArray &lt;span class="kwd"&gt;As String&lt;/span&gt;() = Roles.GetRolesForUser(Login1.UserName)
                    &lt;span class="kwd"&gt;Dim&lt;/span&gt; idString &lt;span class="kwd"&gt;As String&lt;/span&gt; = &lt;span class="kwd"&gt;String&lt;/span&gt;.Join(&lt;span class="st"&gt;&amp;quot;,&amp;quot;&lt;/span&gt;, rolesArray)

                    Session(&lt;span class="st"&gt;&amp;quot;idString&amp;quot;&lt;/span&gt;) = idString

                    Response.Cookies.Add(cookie)

                    SetRedirection(idString)  &amp;#39;This redirects them to different pages based on their role, however, I don&amp;#39;t think they are getting to this point.
                &lt;span class="kwd"&gt;Catch&lt;/span&gt; ex &lt;span class="kwd"&gt;As&lt;/span&gt; Exception
                    SendLoginFailureInformation(Login1.UserName)
                &lt;span class="kwd"&gt;End Try
            End If
          End If&lt;/span&gt;&lt;/pre&gt;&amp;nbsp;&lt;/span&gt;</description></item><item><title>Re: How can I increase the time that users stay logged in?</title><link>http://forums.asp.net/thread/3008927.aspx</link><pubDate>Sun, 15 Mar 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3008927</guid><dc:creator>.netdan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can try this link &lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;TEXT-ALIGN:left;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0;"&gt;&lt;a href="http://www.abstraction.net/ViewArticle.aspx?articleID=74"&gt;http://www.abstraction.net/ViewArticle.aspx?articleID=74&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;TEXT-ALIGN:left;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>