Search

You searched for the word(s): userid:856248

Matching Posts

  • Re: Forms Authentication Timeout Out of Sync with Session Timout

    That is a very interesting article, but it didn't answer my questions. I haven't figured out how sync the Forms Timeout to the Session Timeout. I have know idea why Microsoft decided to only reset the Forms Timeout after its half life. I did figured out the code to check the Forms Timeout: System.Web.Security.FormsAuthentication.Decrypt(Request.Cookies[System.Web.Security.FormsAuthentication.FormsCookieName].Value).Expiration
    Posted to Web Forms (Forum) by rdagger on 6/26/2009
  • Forms Authentication Timeout Out of Sync with Session Timout

    For security, my site needs to timeout after 30 minutes. I set the session timeout, forms timeout and the application pool timeout to 30 minutes. I have a javascript counter on my page that shows how much time is left using the Session.Timeout property. Everything works, but now and then people complain of being timed out before the counter hits zero. According to the MS docs, the slidingExpiration timeout only resets "if a request is made and more than half of the timeout interval has elapsed
    Posted to Web Forms (Forum) by rdagger on 6/25/2009
  • Re: Multiline text box length validation FireFox bug

    I figured it out. I was using a div with CSS in my error message. Apparently, Firefox doesn't like this. I switched to a span and it is working.
    Posted to Web Forms (Forum) by rdagger on 6/25/2009
  • Multiline text box length validation FireFox bug

    I have a CustomValidator on a multiline textbox to validate maximum length. It works fine in IE, but there appears to be a bug in Firefox. When a user exceeds the maximum length, the validator shows a warning message. However, if a user tries to edit the text in the middle of the textbox the cursor will automatically move to the end of the textbox as soon as they start typing. This prevents the user from editing the text anywhere, except at the end of the textbox. This only occurs in Firefox. The
    Posted to Web Forms (Forum) by rdagger on 6/24/2009
  • Re: Skin in Content Page

    I figured it out. I had to add CSS references to the Head Content Place Holder. Thanks.
  • Skin in Content Page

    I have a skin that I created for a GridView that works great, until I started using a Master Page. I can't get the GridView skin to take on the content page. I've tried adding theme reference to the web.config. I also tried adding theme references to the content page's Page directive and the master page's Page directive.
  • Re: Ajax enabled WCF Service stops working with Undefined error

    [quote user="trans642"] this is the solution 1) Make sure you install .NET 2.0 and 3.0 and 3.5 properly. 2) Open IIS manager 3) Open your web directory properties windows. 4) Make sure ASP.NET version 2 is chosen in ASP.NET tab. 5) Make sure your script mapping for .svc is using aspnet_isapi.dll from .net 2.0 folder (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll), you could even remove and add again for .svc extension, for all verbs. [/quote]It may be the solution to your
  • Re: Ajax enabled WCF Service stops working with Undefined error

    [quote user="Vince Xu - MSFT"] Hi, Ajax JavaScript will generate the client agent class for the current web service. After you edit the WCF reference, you need to regenerate these javacript client agent class. Otherwise, the client class will not be updated. [/quote]I'm not sure I understand. I haven't been editing the WCF reference or the WCF service. This morning I made a change to an unrelated page that has no Ajax. Nonetheless, I checked the WCF service and it had stopped working
  • Re: Ajax enabled WCF Service stops working with Undefined error

    [quote user="Vince Xu - MSFT"] Hi, Please check this link http://msdn.microsoft.com/en-us/library/bb924552.aspx Did you follow this way to build WCF? Please pay attention that if you used the namespace on WCF, you need use namespace.classname to call the web method. [/quote]I'm not using a namespace. The service works. I just want to know why I keep having to recreate it after making edits to the project.
  • Safari Redraw Problem with Javascript

    I have a JavaScript function that hides a panel and makes some text and style changes. It works fine in IE, Firefox & Opera. However, in Safari, the left 1/3 of the screen turns black and all the buttons disappear. Resizing the browser window will redraw the screen correctly. The page consists of buttons, labels, textboxes and a few Ajax components. I've seen Safari bug reports regarding individual controls not redrawing, but this affects most of the controls on the page. Here is the script
    Posted to Client Side Web Development (Forum) by rdagger on 2/24/2009
Page 1 of 2 (16 items) 1 2 Next >