Search

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

Matching Posts

  • Re: OpenID Bug - Possibly Because of Long URLs

    Cheers but yeah i tried that and had the same problem.
    Posted to Getting Started (Forum) by jgd12345 on 11/10/2009
  • OpenID Bug - Possibly Because of Long URLs

    Hi, i have just added the ability for users to login to my website with their open id. This was working fine locally but when i uploaded it to the server (iis7 on windows server 2008 64 bit) it fails after entering your login details on the open id provider and returning to the site. I thought this might be an issue with the url length therefore after searching for abit a few people said that the maximum url length in asp.net is 260 characters and cannot be changed. How is that the case and why would
    Posted to Getting Started (Forum) by jgd12345 on 11/6/2009
  • Re: OpenID Bug - Possibly Because of Long URLs

    This was my first thought aswell as i also had to adjust these settings to increase the file size upload limits. However the defaults seem large enough and also i'm testing locally on IIS 7 so it must be something else.
    Posted to Getting Started (Forum) by jgd12345 on 11/6/2009
  • Setting the SelectMethod of the ObjectDataSource control within a FormView

    Hi, i often get muddled with the page executional life cycle but this latest problem is kind of a catch 22 situation. I'm trying to set the SelectMethod of the ObjectDataSource control via different conditions in the query string. I have found the easiest way to do this is set it in the Page_Init event. This works fine but now my GridView/ODS are within a FormView control and when i do FormView1.FindControl("ObjectDataSource1") within the Page_Init event it always returns null. I tried
    Posted to Data Presentation Controls (Forum) by jgd12345 on 9/11/2009
  • Re: Databinding Syntax Not Working in ListView LayoutTemplate

    Hi, this problem annoyed me to the point of extending the ListView with this functionality. Here's the code: public class ListView : System.Web.UI.WebControls.ListView { private bool _isLayoutTemplateDataBound = false; protected override void CreateLayoutTemplate() { base.CreateLayoutTemplate(); // Only need to databind the layout template if it contains some controls and it has not already been databound (fixes a bug which caused any controls within the layout template to be databound an infinate
    Posted to Data Presentation Controls (Forum) by jgd12345 on 7/29/2009
  • Re: Linq to XML - Twitter including caching issues

    Hi, i've managed to solve the first issue. I removed all the name space stuff and added feed.Root and it worked fine. However i'm still unable to get the second issue working. I've temporarily put it as a static utility method which doesn't look as clean but does the job. I'm assuming XDocument or XElement can not be extended but i've no idea why.
    Posted to Getting Started (Forum) by jgd12345 on 6/30/2009
  • Linq to XML - Twitter including caching issues

    I'm having of them days where nothing i do seems to work. First i want to parse the following: <rss version="2.0" xmlns:atom=" http://www.w3.org/2005/Atom "> <channel> <title>Twitter / username</title> <link>http://twitter.com/username</link> <atom:link type="application/rss+xml" rel="self" href=" http://twitter.com/statuses/user_timeline/username.rss " /> <description>Twitter updates from ??? /
    Posted to Getting Started (Forum) by jgd12345 on 6/29/2009
  • Re: Persisting the Membership UserID

    Cheers that's what i thought. I think i'll go for the session approach.
    Posted to Security (Forum) by jgd12345 on 6/17/2009
  • Re: Persisting the Membership UserID

    Huh, i don't know if you read my post properly.
    Posted to Security (Forum) by jgd12345 on 6/15/2009
  • Persisting the Membership UserID

    Hi, i wish to have 2 static (so i don't have to create an instance) variables on my global class storing the user id (CurrentUserID) and whether the user is logged in (IsLoggedIn). Therefore anywhere on my code i can then simply put Global.CurrentUserID to return the current user's id. So far i have: public static bool IsLoggedIn { get { return HttpContext.Current.User.Identity.IsAuthenticated; } } public static int CurrentUserID { get { if (HttpContext.Current.Request.Cookies["UserID"
    Posted to Security (Forum) by jgd12345 on 6/11/2009
Page 1 of 27 (268 items) 1 2 3 4 5 Next > ... Last »