Click here to Skip to main content
15,918,706 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Container.DataItem Pin
minhpc_bk5-Sep-06 15:06
minhpc_bk5-Sep-06 15:06 
Questionneed help Pin
Amit Agarrwal5-Sep-06 0:56
Amit Agarrwal5-Sep-06 0:56 
AnswerRe: need help Pin
minhpc_bk5-Sep-06 15:04
minhpc_bk5-Sep-06 15:04 
GeneralRe: need help Pin
Amit Agarrwal5-Sep-06 20:18
Amit Agarrwal5-Sep-06 20:18 
QuestionDynamic Template asp.net 2.0 Pin
Jay_se5-Sep-06 0:33
Jay_se5-Sep-06 0:33 
AnswerRe: Dynamic Template asp.net 2.0 Pin
minhpc_bk5-Sep-06 15:03
minhpc_bk5-Sep-06 15:03 
GeneralRe: Dynamic Template asp.net 2.0 Pin
Jay_se5-Sep-06 20:07
Jay_se5-Sep-06 20:07 
Questioncookie expiration Pin
rk_nemani4-Sep-06 23:59
rk_nemani4-Sep-06 23:59 
Hi
I am using cookie to store unique encrypted token, i want to use the cookie expire time 8 hours.

I doing like below to expire:
Cookie.Expres = DateTime.Now.AddHours(8)

Its working in my local system as both are in same time zones. I got the problem when I deployed my application to Server, unfortunatley this server is in GMT time zone and my client is in GMT+5:30 time zone, So when i login to my ASP.NET application cookie expiration is taking I hour + some minutes more to expire. I can even see this in my cookie file expires attribute in my local machine.

How to set cookie expire property when server and client are in diffrent timezones.

Could anybody help me as it is become critical ?

Ram
AnswerRe: cookie expiration Pin
CWIZO5-Sep-06 2:42
CWIZO5-Sep-06 2:42 
QuestionExpand / Collapse Text using JavaScript Pin
Jay_se4-Sep-06 23:52
Jay_se4-Sep-06 23:52 
AnswerRe: Expand / Collapse Text using JavaScript Pin
minhpc_bk5-Sep-06 14:55
minhpc_bk5-Sep-06 14:55 
Questioncss file can set the property of gridview? Pin
cheeken2u4-Sep-06 23:46
cheeken2u4-Sep-06 23:46 
AnswerRe: css file can set the property of gridview? Pin
Jay_se5-Sep-06 0:04
Jay_se5-Sep-06 0:04 
Questionneed help... Pin
pradeep kumarappagari4-Sep-06 22:10
pradeep kumarappagari4-Sep-06 22:10 
AnswerRe: need help... Pin
Suresh Pirsquare4-Sep-06 23:27
Suresh Pirsquare4-Sep-06 23:27 
GeneralRe: need help... Pin
pradeep kumarappagari5-Sep-06 1:32
pradeep kumarappagari5-Sep-06 1:32 
GeneralRe: need help... Pin
Suresh Pirsquare5-Sep-06 2:00
Suresh Pirsquare5-Sep-06 2:00 
QuestionHow Maintain scroll position of datagrid during postback Pin
Yuwraj4-Sep-06 21:00
Yuwraj4-Sep-06 21:00 
AnswerRe: How Maintain scroll position of datagrid during postback Pin
_AK_4-Sep-06 21:03
_AK_4-Sep-06 21:03 
QuestionProblem in Custom control Pin
Kamal.Afridi4-Sep-06 20:55
Kamal.Afridi4-Sep-06 20:55 
AnswerRe: Problem in Custom control Pin
minhpc_bk5-Sep-06 14:48
minhpc_bk5-Sep-06 14:48 
Questionhow to know what controls are present in my web page? Pin
Sonu.T4-Sep-06 20:50
Sonu.T4-Sep-06 20:50 
AnswerRe: how to know what controls are present in my web page? Pin
MIHAI_MTZ5-Sep-06 1:33
MIHAI_MTZ5-Sep-06 1:33 
QuestionHTML Page(with images) inside panel control Pin
Jaipnn4-Sep-06 20:23
Jaipnn4-Sep-06 20:23 
AnswerRe: HTML Page(with images) inside panel control Pin
Guffa4-Sep-06 20:52
Guffa4-Sep-06 20:52 

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.