Click here to Skip to main content
15,888,590 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: mail going to spam or bulk folder..plz help.. Pin
hkchauhan19-Jun-07 3:16
hkchauhan19-Jun-07 3:16 
AnswerRe: mail going to spam or bulk folder..plz help.. Pin
hkchauhan19-Jun-07 18:28
hkchauhan19-Jun-07 18:28 
QuestionAsp.net Website Hosting Pin
ShuklaGirish18-Jun-07 23:55
ShuklaGirish18-Jun-07 23:55 
AnswerRe: Asp.net Website Hosting Pin
Sylvester george19-Jun-07 0:06
Sylvester george19-Jun-07 0:06 
QuestionSession_End not firing in normal run [modified] Pin
Tahir Saleem18-Jun-07 23:48
Tahir Saleem18-Jun-07 23:48 
AnswerRe: Session_End not firing in normal run Pin
ToddHileHoffer19-Jun-07 1:22
ToddHileHoffer19-Jun-07 1:22 
Questionremember me feature in asp.net 1.1 Pin
deepalititi18-Jun-07 23:46
deepalititi18-Jun-07 23:46 
AnswerRe: remember me feature in asp.net 1.1 Pin
kumarjammula19-Jun-07 0:08
kumarjammula19-Jun-07 0:08 
Hi, this code can help.
This is code for 2.0 login control u replace login1.username by ur textboxcontrol.text
and by this code it will create cookie in ur local system and below code u place in ur pageload This will work fine....

CheckBox chkBox = (CheckBox)Login1.FindControl("RememberMe");
if (chkBox.Checked==true)
{
HttpCookie myCookie = new HttpCookie("myCookie"); //Instance the new cookie
Response.Cookies.Remove("myCookie"); //Remove previous cookie
Response.Cookies.Add(myCookie); //Create the new cookie
myCookie.Values.Add("user", this.Login1.UserName); //Add the username field to the cookie
DateTime deathDate = DateTime.Now.AddDays(1); //Days of life
Response.Cookies["myCookie"].Expires = deathDate; //Assign the life period

myCookie.Values.Add("pass", this.Login1.Password);

}

Getting after Cookie created

if (Request.Cookies["myCookie"] != null) //Cookie Exists??
{
HttpCookie cookie = Request.Cookies.Get("myCookie");
string user = cookie.Values["user"].ToString();
if (user != "")
{
Login1.UserName = user; //Write the username onto login username textbox
}
}

came out of hardwork

GeneralRe: remember me feature in asp.net 1.1 Pin
deepalititi19-Jun-07 2:11
deepalititi19-Jun-07 2:11 
QuestionASP.NET+Javascript [modified] Pin
Bajrang Singh18-Jun-07 23:43
Bajrang Singh18-Jun-07 23:43 
AnswerRe: ASP.NET+Javascript Pin
RepliCrux19-Jun-07 0:44
RepliCrux19-Jun-07 0:44 
GeneralRe: ASP.NET+Javascript Pin
RepliCrux19-Jun-07 12:39
RepliCrux19-Jun-07 12:39 
AnswerRe: ASP.NET+Javascript Pin
Christian Graus19-Jun-07 0:57
protectorChristian Graus19-Jun-07 0:57 
GeneralRe: ASP.NET+Javascript Pin
Bajrang Singh19-Jun-07 2:12
Bajrang Singh19-Jun-07 2:12 
QuestionConfiguring application in 3-tier Pin
Sylvester george18-Jun-07 23:41
Sylvester george18-Jun-07 23:41 
QuestionGoogle Base API Pin
wEb GuRu...18-Jun-07 23:30
wEb GuRu...18-Jun-07 23:30 
Questionrefreshment of page Pin
saravanan0518-Jun-07 23:09
saravanan0518-Jun-07 23:09 
AnswerRe: refreshment of page Pin
wEb GuRu...18-Jun-07 23:25
wEb GuRu...18-Jun-07 23:25 
AnswerRe: refreshment of page Pin
MaheshSharma19-Jun-07 0:10
MaheshSharma19-Jun-07 0:10 
Questionusercontrol caching Pin
marky77718-Jun-07 23:07
marky77718-Jun-07 23:07 
AnswerRe: usercontrol caching Pin
Chetan Ranpariya18-Jun-07 23:27
Chetan Ranpariya18-Jun-07 23:27 
GeneralRe: usercontrol caching Pin
marky77718-Jun-07 23:36
marky77718-Jun-07 23:36 
GeneralRe: usercontrol caching Pin
Chetan Ranpariya18-Jun-07 23:52
Chetan Ranpariya18-Jun-07 23:52 
GeneralRe: usercontrol caching Pin
marky77719-Jun-07 0:10
marky77719-Jun-07 0:10 
GeneralRe: usercontrol caching Pin
Chetan Ranpariya19-Jun-07 0:14
Chetan Ranpariya19-Jun-07 0:14 

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.