Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
QuestionWe can j pass a string variable via a matlab dll ???? Pin
Anonymous8-Jun-05 21:37
Anonymous8-Jun-05 21:37 
Generalhelp me! Pin
haneitou8-Jun-05 21:34
haneitou8-Jun-05 21:34 
GeneralRe: help me! Pin
Carsten Zeumer8-Jun-05 22:20
Carsten Zeumer8-Jun-05 22:20 
GeneralRe: help me! Pin
haneitou8-Jun-05 22:39
haneitou8-Jun-05 22:39 
GeneralRadio Button Pin
Aryan_Pushap8-Jun-05 21:25
Aryan_Pushap8-Jun-05 21:25 
QuestionHow to host vc+ control (.lib) in c# winform Pin
uhs8-Jun-05 21:23
uhs8-Jun-05 21:23 
AnswerRe: How to host vc+ control (.lib) in c# winform Pin
Carsten Zeumer8-Jun-05 23:22
Carsten Zeumer8-Jun-05 23:22 
GeneralFacing problem accessing cookies in MCMS 2002 Pin
pushpesh8-Jun-05 19:35
pushpesh8-Jun-05 19:35 
I am using MCMS 2002 the problem i m facing is with cookies.
The cookies I am using losts its value after accessing it. THe code I am using is as

1) MCMS is installed on Windows XP.
2) Piece of code to set the cookie.

HttpCookie objCookie = new HttpCookie("LanguagePreference");
Response.Cookies.Clear();
Response.Cookies.Add(objCookie);
objCookie.Values.Add("LanguagePreference","En");
Response.Cookies["LanguagePreference"].Expires = DateTime.Now.AddDays(15);

3) Piece of code to get the cookie back.

a) cookieValue = Request.Cookies["LanguagePreference"].Value
or
b) cookieValue = Response.Cookies["LanguagePreference"].Value


Problem Statement ::

1) Cookie set Successfully using code in step 2.
2) Now if I try to get this cookie back using code at line 3(a) [in Request object] then I get it for first time & then that cookie is deleted automatically.
3) When I try to get this cookie back using code at line 3(b) [in Response object] then that cookie is deleted automatically immediately.


Any Solutions ?


Pushpesh Pandey
pinchu636595@yahoo.co.in
GeneralLate Binding With Excel Pin
ksanju10008-Jun-05 19:29
ksanju10008-Jun-05 19:29 
QuestionHow to avoid empty node to appear in xml file while doing xml serialization Pin
Shiby8-Jun-05 19:24
Shiby8-Jun-05 19:24 
AnswerRe: How to avoid empty node to appear in xml file while doing xml serialization Pin
leppie8-Jun-05 21:50
leppie8-Jun-05 21:50 
Generalstuck on a problem with outlook and c# Pin
ekynox8-Jun-05 18:38
ekynox8-Jun-05 18:38 
GeneralRe: stuck on a problem with outlook and c# Pin
codeprojectin8-Jun-05 22:15
codeprojectin8-Jun-05 22:15 
GeneralRe: stuck on a problem with outlook and c# Pin
ekynox9-Jun-05 21:48
ekynox9-Jun-05 21:48 
GeneralC# - Using sender Pin
kezza65438-Jun-05 18:23
kezza65438-Jun-05 18:23 
GeneralRe: C# - Using sender Pin
Christian Graus8-Jun-05 18:29
protectorChristian Graus8-Jun-05 18:29 
GeneralRe: C# - Using sender Pin
kezza65438-Jun-05 19:26
kezza65438-Jun-05 19:26 
GeneralRe: C# - Using sender Pin
Philip Price8-Jun-05 23:24
Philip Price8-Jun-05 23:24 
QuestionHow to Close a Form when openning? Pin
Khoa Bui8-Jun-05 17:27
Khoa Bui8-Jun-05 17:27 
AnswerRe: How to Close a Form when openning? Pin
Christian Graus8-Jun-05 17:36
protectorChristian Graus8-Jun-05 17:36 
GeneralRe: How to Close a Form when openning? Pin
codeprojectin8-Jun-05 17:56
codeprojectin8-Jun-05 17:56 
GeneralRe: How to Close a Form when openning? Pin
Christian Graus8-Jun-05 18:30
protectorChristian Graus8-Jun-05 18:30 
GeneralRe: How to Close a Form when openning? Pin
Weiye Chen8-Jun-05 19:40
Weiye Chen8-Jun-05 19:40 
GeneralRe: How to Close a Form when openning? Pin
codeprojectin8-Jun-05 21:11
codeprojectin8-Jun-05 21:11 
GeneralRe: How to Close a Form when openning? Pin
Dave Kreskowiak9-Jun-05 8:30
mveDave Kreskowiak9-Jun-05 8:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.