W
Wayne MJ
I have the need for a page to either pick between 2 Web Controls, one
being the login; the other being subscriber input/confirmation.
If a cookie is not found, even a temporary one (set at 1day) when the
containing webform is loaded then the login page is offered - if they
are registered users they enter their details which brings them to the
confirmation page where they can adjust their details.
Once there has been a successful login, a temporary cookie is used to
store their particulars (UID/PWD) or they use a persistent cookie.
The problem is, from the login WebControl there is no facility to
provide for Response/Request so as to create the temporary cookie.
I have tried using a server side form, only to be informed that 1 server
site form per page is permitted, or "$CMD... in not in the name space or
class" where $CMD is either Response or Request.
Is there a way of accessing a cookie from a class whether it be a
WebControl or a generic class that is not on a WebForm?
Wayne
being the login; the other being subscriber input/confirmation.
If a cookie is not found, even a temporary one (set at 1day) when the
containing webform is loaded then the login page is offered - if they
are registered users they enter their details which brings them to the
confirmation page where they can adjust their details.
Once there has been a successful login, a temporary cookie is used to
store their particulars (UID/PWD) or they use a persistent cookie.
The problem is, from the login WebControl there is no facility to
provide for Response/Request so as to create the temporary cookie.
I have tried using a server side form, only to be informed that 1 server
site form per page is permitted, or "$CMD... in not in the name space or
class" where $CMD is either Response or Request.
Is there a way of accessing a cookie from a class whether it be a
WebControl or a generic class that is not on a WebForm?
Wayne