UserData size limit in a FormsAuthenticationTicket

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default UserData size limit in a FormsAuthenticationTicket

    Is there a size limit to the userData in a FormsAuthenticationTicket ?

    I'm asking this because when I try to encrypt the FormsAuthenticationTicket
    it returns a null but only when the userData is pretty large (about 3000 characters)


    thanks,


    Simon
    Simon Laroche Guest

  2. Similar Questions and Discussions

    1. Form size limit?
      I'm working on a flash form in CF8 and I have hit some sort of limit. There's a point where my form gets cut off and nothing below is displayed. ...
    2. CF7 PDF Size Limit
      Is there a maximum size to a file that can be converted to PDF using CFDOCUMENT in CF7? We are trying to convert a 25 Mb HTML file, but the...
    3. FormsAuthenticationTicket does not return userdata
      Hello, I am trying to get FormAuthentication working, but the FormsAuthenticationTicket does not return the UserData. Does any one have any...
    4. FormsAuthenticationTicket UserData bug in framework 1.1, how to report it?
      Seems pretty incredible a simple "how to report a bug" isn't available at all on Microsoft.com !! How the hell can we report a bug when we find one?...
    5. 255 limit of field size
      hi there I'm creating a database site and using access. I've created a number of fields i.e date, time, description, cost The only problem is...
  3. #2

    Default Re: UserData size limit in a FormsAuthenticationTicket

    Actually, there is a limit of 4KB that is dictated by the max. cookie size.
    However, your userdata should be smaller than this limit because of the
    additional info that adds the forms auth. ticket and specially if it's
    encrypted.

    --
    Hernan de Lahitte
    Lagash Systems S.A.
    [url]http://www.lagash.com[/url]



    "Simon Laroche" <slaroche@pcms.com> wrote in message
    news:237e671.0402030823.7ada7952@posting.google.co m...
    > Is there a size limit to the userData in a FormsAuthenticationTicket ?
    >
    > I'm asking this because when I try to encrypt the
    FormsAuthenticationTicket
    > it returns a null but only when the userData is pretty large (about 3000
    characters)
    >
    >
    > thanks,
    >
    >
    > Simon

    Hernan de Lahitte Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139