Click here to Skip to main content
15,926,507 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem with adding row to shopping cart Pin
Christian Graus12-May-08 13:13
protectorChristian Graus12-May-08 13:13 
QuestionSome Doubts, please help Pin
Mogaambo12-May-08 3:15
Mogaambo12-May-08 3:15 
AnswerRe: Some Doubts, please help Pin
N a v a n e e t h12-May-08 3:19
N a v a n e e t h12-May-08 3:19 
GeneralRe: Some Doubts, please help Pin
Mogaambo12-May-08 3:35
Mogaambo12-May-08 3:35 
GeneralRe: Some Doubts, please help Pin
Colin Angus Mackay12-May-08 5:34
Colin Angus Mackay12-May-08 5:34 
QuestionLogin Control in Visual Studio 2005 Pin
Pranav Thakur12-May-08 3:12
Pranav Thakur12-May-08 3:12 
AnswerRe: Login Control in Visual Studio 2005 Pin
Abhijit Jana12-May-08 3:38
professionalAbhijit Jana12-May-08 3:38 
GeneralRe: Login Control in Visual Studio 2005 Pin
Pranav Thakur12-May-08 4:19
Pranav Thakur12-May-08 4:19 
I have written some code.But its incompleate. Please explain me in detail how to go ahead from here.
protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
if (this.Login1.RememberMeSet)
{
//Check if the browser support cookies
if ((Request.Browser.Cookies))
{
//Check if the cookie with name PBLOGIN exist on user's machine
if ((Request.Cookies["PBLOGIN"] == null))
{
//Create a cookie with expiry of 30 days
Response.Cookies["PBLOGIN"].Expires = DateTime.Now.AddDays(30);
//Write username to the cookie
Response.Cookies["PBLOGIN"].Values["UNAME"] = this.Login1.UserName.ToString();
//Write password to the cookie
Response.Cookies["PBLOGIN"].Values["UPASS"] = this.Login1.Password.ToString();
}
//If the cookie already exist then wirte the user name and password on the cookie
else
{
Response.Cookies["PBLOGIN"].Values["UNAME"] = this.Login1.UserName.ToString();
Response.Cookies["PBLOGIN"].Values["UPASS"] = this.Login1.Password.ToString();
}
}
}
}
GeneralRe: Login Control in Visual Studio 2005 Pin
Abhijit Jana12-May-08 4:57
professionalAbhijit Jana12-May-08 4:57 
AnswerRe: Login Control in Visual Studio 2005 Pin
J a a n s12-May-08 3:45
professionalJ a a n s12-May-08 3:45 
Questionasp to asp,net in firefox Pin
Ajeet mittal12-May-08 3:12
Ajeet mittal12-May-08 3:12 
Questionerror in datacolumncollection!! Pin
Karan_TN12-May-08 2:32
Karan_TN12-May-08 2:32 
AnswerRe: error in datacolumncollection!! Pin
N a v a n e e t h12-May-08 2:40
N a v a n e e t h12-May-08 2:40 
GeneralRe: error in datacolumncollection!! Pin
Karan_TN12-May-08 3:25
Karan_TN12-May-08 3:25 
QuestionIFrame problem in firefox Pin
neelakannan12-May-08 1:53
neelakannan12-May-08 1:53 
QuestionHow does this thing happens????? Pin
www.Developerof.NET12-May-08 1:24
www.Developerof.NET12-May-08 1:24 
AnswerRe: How does this thing happens????? Pin
J4amieC12-May-08 1:55
J4amieC12-May-08 1:55 
GeneralRe: How does this thing happens????? Pin
www.Developerof.NET12-May-08 3:26
www.Developerof.NET12-May-08 3:26 
QuestionProblem Generating Report Through C# Pin
aalokitoaami12-May-08 1:10
aalokitoaami12-May-08 1:10 
QuestionUnwanted Authentication Prompts in SharePoint application Pin
Sangamesh Naidu12-May-08 0:57
Sangamesh Naidu12-May-08 0:57 
AnswerRe: Unwanted Authentication Prompts in SharePoint application Pin
eyeseetee12-May-08 2:15
eyeseetee12-May-08 2:15 
Questionsearch facility using index service Pin
eyeseetee12-May-08 0:51
eyeseetee12-May-08 0:51 
QuestionQuery Regading Web Parts Personalization Pin
Abhijit Jana12-May-08 0:39
professionalAbhijit Jana12-May-08 0:39 
AnswerRe: Query Regading Web Parts Personalization Pin
eyeseetee12-May-08 2:14
eyeseetee12-May-08 2:14 
GeneralRe: Query Regading Web Parts Personalization Pin
Abhijit Jana12-May-08 3:34
professionalAbhijit Jana12-May-08 3:34 

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.