Read/Write Cookie in a Module

Tech-Archive recommends: Speed Up your PC by fixing your registry



How do I read and write a cookie in an ASP.Net module?

I can get this code to work in an aspx.vb class but not in a regular VB
module:

Response.Cookies.Add(c)

Response is not a recognized command in the module. I've tried importing
System.Web into the module but that is not allowed.

What I'm trying to do is centralize cookie processing. Perhaps there is a
better way.

Cheers,
Larry Rebich


.



Relevant Pages

  • Re: Asp.Net Equilivant of Me.Name
    ... On Sun, 17 Dec 2006 16:25:07 GMT, Larry Rebich wrote: ... Get me.name from Cookie ... Have a look at the following properties o the request object and see if ...
    (microsoft.public.dotnet.general)
  • Page Navigation
    ... How do I save the current page in a cookie then return to that page from ... aspx Page 1: ... Or is there some better way of navigating? ... Larry Rebich ...
    (microsoft.public.dotnet.framework.aspnet)