Re: Cookie is not created why ?
From: Marina (someone_at_nospam.com)
Date: 08/18/04
- Next message: AG: "System::DllNotfoundException occurs while loading a mixed dll"
- Previous message: Scott Allen: "Re: Casting Problem"
- In reply to: raagz: "Cookie is not created why ?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 18 Aug 2004 09:53:00 -0400
The browser might have different rules set up for when it accepts cookise.
It might accept them from the intranet zone, but not from the internet zone.
"raagz" <raagzcd@yahoo.com> wrote in message
news:e1ee8ab9.0408180524.718b0d79@posting.google.com...
> Hi,
>
> I am trying to create a cookie from the value that is passed through
> the querystring.here is the piece of code.
>
> cookiename and cookiedata are passed through URL.
>
> HttpCookie TISCookie = new HttpCookie(cookieName,cookieData);
> TISCookie.Expires = DateTime.MaxValue;
> Response.Cookies.Add(TISCookie);
>
> but this works fine with localhost i.e URL is
> http://localhost/webform1.aspx
>
> whereas with machine name it does not i.e
> http://p41234/webform1.aspx
>
> The cookie is not at all created.
>
> Thanks
> Raagz
- Next message: AG: "System::DllNotfoundException occurs while loading a mixed dll"
- Previous message: Scott Allen: "Re: Casting Problem"
- In reply to: raagz: "Cookie is not created why ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|