Ask a Question related to ASP.NET General, Design and Development.
-
Wayne MJ #1
Reading a cookie from a Web Control
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
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Wayne MJ Guest
-
Delete Cookie Control?
What kind of JavaScript is needed to delete all of the cookies for the current web site, and can that be registered in an ASP.NET page as a button?... -
Device::Cdio - encapsulates CD control and reading
In this initial object-oriented Perl interface to the C library libcdio (http://www.gnu.org/software/libcdio), audio CD controls, device controls,... -
Sharing ASPAUTH cookie between IE and a hosted Windows Form Control
Hello everyone, I have a situation where I am hosting a windows forms based control on a web page in IE. Because the windows forms app uses web... -
Reading/Decrypting ASP.Net auth cookie from ASP
I have mixed ASP & ASP.Net sites. I want to read an encrypted FormsAuthenticationTicket from an ASP page (I already have multiple ASP.Net apps... -
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,... -
Wayne MJ #2
Re: Reading a cookie from a Web Control
Solved it.
My moving the control to an actualy webform, then using
Server.Transfer() I was able to mung it into working very well.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Wayne MJ Guest



Reply With Quote

