Thank you, George. Yes, I do use the request and response objects as
you say. I apologize for not saying so.
The dll resides in the web site's bin directory and can both read and
write to a directory (after I set permissions). Cannot read or write a
cookie though.
Hate to have to rely on IP addresses but am considering it.
Nathan
[quoted text, click to view] On Feb 8, 4:36 am, "George Ter-Saakov" <gt-...@cardone.com> wrote:
> To reqad a cookie you use Request.Cookies...
> to write a cookie you use Response.Cookies....
> I see code yo try to read Cookie but do not see code to write Cookie..
>
> George.
>
> <nathan_blak...@hotmail.com> wrote in message
>
> news:5765d743-e541-44be-aa89-41d41c21ee95@c23g2000hsa.googlegroups.com...
>
> > Hi,
> > I am not able to read or write cookies from DLLs both locally and on
> > Godaddy's web hosting site. I have ASP.NET 2 set up in both locations.
> > There must be a trick. My code looks as follows:
>
> > return (HttpContext.Current.Request.Cookies[m_strCookieName] != null);
>
> > I have unchecked the "Allow Unsafe Code" box in VS.
>
> > Many thanks
> > Nathan
I should have mentioned, this dll contains a CompositeControl.
Nathan
[quoted text, click to view] On Feb 9, 7:26 am, nathan_blak...@hotmail.com wrote:
> Thank you, George. Yes, I do use the request and response objects as
> you say. I apologize for not saying so.
> The dll resides in the web site's bin directory and can both read and
> write to a directory (after I set permissions). Cannot read or write a
> cookie though.
> Hate to have to rely on IP addresses but am considering it.
> Nathan
>
> On Feb 8, 4:36 am, "George Ter-Saakov" <gt-...@cardone.com> wrote:
>
> > To reqad a cookie you use Request.Cookies...
> > to write a cookie you use Response.Cookies....
> > I see code yo try to read Cookie but do not see code to write Cookie..
>
> > George.
>
> > <nathan_blak...@hotmail.com> wrote in message
>
> >news:5765d743-e541-44be-aa89-41d41c21ee95@c23g2000hsa.googlegroups.com...
>
> > > Hi,
> > > I am not able to read or write cookies from DLLs both locally and on
> > > Godaddy's web hosting site. I have ASP.NET 2 set up in both locations.
> > > There must be a trick. My code looks as follows:
>
> > > return (HttpContext.Current.Request.Cookies[m_strCookieName] != null);
>
> > > I have unchecked the "Allow Unsafe Code" box in VS.
>
> > > Many thanks
> > > Nathan
Don't see what you're looking for? Try a search.