Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# Cookie problem

Status
Not open for further replies.

Sanjeet1

Programmer
Sep 4, 2003
26
US
I am writing a cookie in c# to pass to a different server. I am not getting any error messages when I compile. The cookie does not work correctly. When I step through the debugger I can see the values being passed into the cookie. Do you have any suggestions?

-----------------------------------------------------------------------
string returnURL = PageBase.CmsPosting.Url;

HttpCookie confexCookie = new HttpCookie("LyrisForumn");
confexCookie.Value = (password);
confexCookie.Value = (strListName);
confexCookie.Value = (PageBase.CurrentUserEmail);
confexCookie.Value = (returnURL);
confexCookie.Domain = ConfigurationSettings.AppSettings["ConfexCookieDomain"];
Response.Cookies.Add(confexCookie);
Response.Redirect("
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top