Click here to Skip to main content
15,896,207 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Need some help, what would I do ? Pin
msqar31-Mar-11 4:15
msqar31-Mar-11 4:15 
Questionregular expression Pin
fififlowertot31-Mar-11 2:32
fififlowertot31-Mar-11 2:32 
AnswerRe: regular expression Pin
Pete O'Hanlon31-Mar-11 4:06
mvePete O'Hanlon31-Mar-11 4:06 
QuestionVertical slide show Java script Pin
venu65630-Mar-11 22:57
venu65630-Mar-11 22:57 
AnswerCross post Pin
Not Active31-Mar-11 2:34
mentorNot Active31-Mar-11 2:34 
GeneralRe: Cross post Pin
venu6561-Apr-11 2:35
venu6561-Apr-11 2:35 
GeneralRe: Cross post Pin
Not Active1-Apr-11 3:06
mentorNot Active1-Apr-11 3:06 
QuestionCookies question. [modified] Pin
buffering8330-Mar-11 17:51
buffering8330-Mar-11 17:51 
if client A page, B popup page was displayed.

And If client click button which "don't want to pop up".

So, I used cookies, but it dosen't work.

1. client connect A Page and don't click button
2. client connect A page again

but A page's Request.Cookies["co1"].Expires is "{0001-01-01 AM 12:00:00}"

Why?

and if there is 10 users, am i have to make Response.Cookies["co1"]~ Response.Cookies["co10"]?


A Page:
if (Request.Cookies["co1"].Value == null || Request.Cookies["co1"].Expires >= DateTime.Now)
{
Response.Cookies["co1"].Value = "1";
Response.Cookies["co1"].Expires = DateTime.Now.AddDays(1);


PopUp B Page.

}// if (Request.Cookies["co1"].Value == null || Request.Cookies["co1"].Expires >= DateTime.Now)


B Page:
if client click button
->
Response.Cookies["co1"].Expires = DateTime.Now.AddDays(-1);
RegisterStartupScript("load", "<script type=\"text/javascript\">\n" + "self.close();\n" + "<" + "/script>");

hi

My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
modified on Thursday, March 31, 2011 12:05 AM

AnswerRe: Cookies question. Pin
Dejan Bozic30-Mar-11 21:40
Dejan Bozic30-Mar-11 21:40 
QuestionHow Do I Get the ASPNet Login Role for the user logged in? Pin
Dave Clark QED30-Mar-11 5:48
Dave Clark QED30-Mar-11 5:48 
AnswerRe: How Do I Get the ASPNet Login Role for the user logged in? Pin
Not Active30-Mar-11 7:09
mentorNot Active30-Mar-11 7:09 
Questionswf file not getting displayed in chrome Pin
raghvendrapanda30-Mar-11 0:01
raghvendrapanda30-Mar-11 0:01 
Questioncursor in the textbox is blinking very fast Pin
raghvendrapanda29-Mar-11 20:34
raghvendrapanda29-Mar-11 20:34 
Questionpaas MinimumPrefixLength value of ajax autocompleter from code behind Pin
raghvendrapanda29-Mar-11 20:00
raghvendrapanda29-Mar-11 20:00 
QuestionI want to play avi file continually. Pin
buffering8329-Mar-11 19:01
buffering8329-Mar-11 19:01 
AnswerRe: I want to play avi file continually. Pin
Gaurav K Singh29-Mar-11 19:58
Gaurav K Singh29-Mar-11 19:58 
GeneralRe: I want to play avi file continually. Pin
buffering8329-Mar-11 20:16
buffering8329-Mar-11 20:16 
QuestionCan not display Image [modified] Pin
Orcun Iyigun29-Mar-11 7:22
Orcun Iyigun29-Mar-11 7:22 
AnswerRe: Can not display Image Pin
Dalek Dave29-Mar-11 7:30
professionalDalek Dave29-Mar-11 7:30 
GeneralRe: Can not display Image Pin
Orcun Iyigun29-Mar-11 7:48
Orcun Iyigun29-Mar-11 7:48 
GeneralRe: Can not display Image Pin
Dalek Dave29-Mar-11 8:14
professionalDalek Dave29-Mar-11 8:14 
GeneralRe: Can not display Image Pin
Orcun Iyigun29-Mar-11 8:22
Orcun Iyigun29-Mar-11 8:22 
GeneralRe: Can not display Image Pin
gavindon29-Mar-11 8:27
gavindon29-Mar-11 8:27 
GeneralRe: Can not display Image Pin
Pete O'Hanlon29-Mar-11 8:55
mvePete O'Hanlon29-Mar-11 8:55 
GeneralRe: Can not display Image Pin
gavindon29-Mar-11 8:58
gavindon29-Mar-11 8:58 

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.