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

  1. #1

    Default Posting cookie

    Hi.
    I'm looking to post an http cookie on a sql backend.
    I know I've read about this before, but the solution stumps me.
    I've tried the menu control, I even bought one for 400 dollars, but I still
    can't find the answer.
    It seems like there is a web cast that I saw that showed how to post a
    request and re-process it on the same round trip.
    Anyway, I'm creating a time-tracker program. I have a fleet of 250 taxis. I
    was just hired, and I guess I may have padded my resume, becuase this stuff
    may be beyond me. I can't afford to lose this job too. Anyway, so the point
    of all this is to pull each driver from a list of possible taxis. These can
    be taxis we own, or taxis we are going to own. Once I pull each taxi driver,
    I will assign him a profile or a cookie or something. This much I am certain
    of. After that I will probably assign a list of possible streets and after
    that I will sort them by cell phone number. Each cell phone will get a
    cookie too. What I'm not sure of is whether a user control is valid with a
    cookie. My boss wants me to talk to some programming consultants this
    morning, and honestly, I coudn't answer that question.
    I'm just going to go in there and go headstrong with my theory that each cab
    will get a cookie. I think that is called the postback theory.
    There are other cookies, like a color cookie, and a missing driver cookie.
    Anyway that's why I need to post the cookie on the backend, because these
    consultants are going to ask about it. Now my wife is awake and she is going
    to worry if she sees me up all night studying. Now where does web two-zero
    fit in. I need an antenna cookie too.
    Any help would help.


    Afton Wynona Guest

  2. Similar Questions and Discussions

    1. HTTP::Cookie won't store sent cookie
      Hi all, My script requests http://foo.bar.com/ with code that looks a little like this: my $ua = LWP::UserAgent->new; my $cookie_jar =...
    2. FS posting?
      Hello, I've been lurking on this board for a while, and am wondering if it's kosher to post FS messages? Non-commercial, just have a few things that...
    3. Re Posting this Pls Help
      I have reposted this in the hope some one can help. If it has been covered before I apologise but I cannot find an answer to this problem. I...
    4. Cookies set one time, I delete cookie, cookie is never set again!
      I am having this problem: My PHP script will set a cookie, it's there in my /Cookies folder. I delete the cookie (I have to for testing purposes,...
    5. authentication cookie vs session cookie
      Hi, What are the differences between authentication and session cookies? In my web.config file, I set the cookieless attribute for the...
  3. #2

    Default Re: Posting cookie

    You may be starting out with too many assumptions which are not backed
    with a proper of the technologies. You seem to think you can us a
    cookie for everything. What you really need to do is identify people
    or things (taxis, phones) with a ID and then associate profile
    properties and prefereces to those identities.

    Fortunately understanding what you need to know has been documented
    very well here...

    [url]http://msdn2.microsoft.com/en-us/library/a23c40d6.aspx[/url]

    I also wrote up some comments recently about managing data for
    Profiles.

    [url]http://brennan.offwhite.net/blog/2006/09/25/robust-custom-profiles/[/url]

    Do not concern yourself with cookies. The ASP.NET 2.0 internals will
    handle that for you as the documentation will explain.

    Brennan Stehling
    [url]http://brennan.offwhite.net/blog/[/url]

    Afton Wynona wrote:
    > Hi.
    > I'm looking to post an http cookie on a sql backend.
    > I know I've read about this before, but the solution stumps me.
    > I've tried the menu control, I even bought one for 400 dollars, but I still
    > can't find the answer.
    > It seems like there is a web cast that I saw that showed how to post a
    > request and re-process it on the same round trip.
    > Anyway, I'm creating a time-tracker program. I have a fleet of 250 taxis. I
    > was just hired, and I guess I may have padded my resume, becuase this stuff
    > may be beyond me. I can't afford to lose this job too. Anyway, so the point
    > of all this is to pull each driver from a list of possible taxis. These can
    > be taxis we own, or taxis we are going to own. Once I pull each taxi driver,
    > I will assign him a profile or a cookie or something. This much I am certain
    > of. After that I will probably assign a list of possible streets and after
    > that I will sort them by cell phone number. Each cell phone will get a
    > cookie too. What I'm not sure of is whether a user control is valid with a
    > cookie. My boss wants me to talk to some programming consultants this
    > morning, and honestly, I coudn't answer that question.
    > I'm just going to go in there and go headstrong with my theory that each cab
    > will get a cookie. I think that is called the postback theory.
    > There are other cookies, like a color cookie, and a missing driver cookie.
    > Anyway that's why I need to post the cookie on the backend, because these
    > consultants are going to ask about it. Now my wife is awake and she is going
    > to worry if she sees me up all night studying. Now where does web two-zero
    > fit in. I need an antenna cookie too.
    > Any help would help.
    Brennan Stehling Guest

  4. #3

    Default Re: Posting cookie

    Thanks, But I don;t understand a think you said.
    Do you need a cookie?

    Fortunately everyone at work was sick today from spinach.

    Anyway. I did a lot fo cookie thinking, and I am certain that if i can just
    spell out each cookie on the backend it will produce a more robuste database
    for the front end.

    Pleae help.
    God. Please help.


    Afton Wynona Guest

  5. #4

    Default Re: Posting cookie

    You just need to read that documentation I linked to in the previous
    email. Thinking about cookies is thinking it about it at the wrong
    level. You may as well be concerned about the color of the ethernet
    cable the users have. The ASP.NET framework works on top of the
    communication layer so you can simply manage profiles with the
    Membership and Profile provider. It is really is quite easy to do once
    you have read up on it.

    Brennan Stehling
    [url]http://brennan.offwhite.net/blog/[/url]

    Afton Wynona wrote:
    > Thanks, But I don;t understand a think you said.
    > Do you need a cookie?
    >
    > Fortunately everyone at work was sick today from spinach.
    >
    > Anyway. I did a lot fo cookie thinking, and I am certain that if i can just
    > spell out each cookie on the backend it will produce a more robuste database
    > for the front end.
    >
    > Pleae help.
    > God. Please help.
    Brennan Stehling Guest

  6. #5

    Default Re: Posting cookie

    i've created an array of 1024 cookies.
    what do i do now?



    JP.Gantlin 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