Click here to Skip to main content
15,878,543 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionIE6: "cannot open the internet site" and the 2.0 Menu control Pin
Waka Waka Jawaka8-May-07 1:53
Waka Waka Jawaka8-May-07 1:53 
QuestionASP.Net Control Pin
John.L.Ponratnam8-May-07 1:53
John.L.Ponratnam8-May-07 1:53 
Questionsession varibles + asp.net Pin
ritu43218-May-07 1:38
ritu43218-May-07 1:38 
AnswerRe: session varibles + asp.net Pin
_mubashir8-May-07 1:45
_mubashir8-May-07 1:45 
AnswerRe: session varibles + asp.net Pin
ToddHileHoffer8-May-07 2:25
ToddHileHoffer8-May-07 2:25 
AnswerRe: session varibles + asp.net Pin
Chris Maunder8-May-07 9:21
cofounderChris Maunder8-May-07 9:21 
QuestionHow to expire a Session if we click Browser Back Button Pin
kaushik4908-May-07 1:12
kaushik4908-May-07 1:12 
AnswerRe: How to expire a Session if we click Browser Back Button Pin
Sandeep Akhare8-May-07 1:53
Sandeep Akhare8-May-07 1:53 
kaushik490 wrote:
But at this point the session should expire

When you click Log Out Button make your session =null;

<br />
Session["UserName"] = null;<br />
Session["Password"] = null;<br />

Also you can do one thing add this code in every page load event
<br />
Response.Cache.SetCacheability(HttpCacheability.NoCache);<br />
Response.Cache.SetExpires(DateTime.Now); //or a date much earlier <br />

OK Are you checking the Session in every page ? i.e validating the user in every page ?


Thanks and Regards
Sandeep

If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "




GeneralRe: How to expire a Session if we click Browser Back Button Pin
kaushik4908-May-07 2:51
kaushik4908-May-07 2:51 
AnswerRe: How to expire a Session if we click Browser Back Button Pin
Chris Maunder8-May-07 9:25
cofounderChris Maunder8-May-07 9:25 
Generalwe dint solve it Pin
rama charan8-May-07 20:29
rama charan8-May-07 20:29 
QuestionGridview with template controls Pin
regin8-May-07 0:51
regin8-May-07 0:51 
Answer[Message Deleted] Pin
haneef18-May-07 1:12
haneef18-May-07 1:12 
GeneralRe: Gridview with template controls Pin
Chetan Ranpariya8-May-07 1:27
Chetan Ranpariya8-May-07 1:27 
GeneralRe: Gridview with template controls Pin
_mubashir8-May-07 1:29
_mubashir8-May-07 1:29 
GeneralRe: Gridview with template controls Pin
Colin Angus Mackay8-May-07 2:30
Colin Angus Mackay8-May-07 2:30 
AnswerRe: Gridview with template controls Pin
Chetan Ranpariya8-May-07 1:32
Chetan Ranpariya8-May-07 1:32 
QuestionIssues in loading images in Word Automation Pin
Sankara Narayana8-May-07 0:34
Sankara Narayana8-May-07 0:34 
QuestionExecute exe Pin
Rickey_Me7-May-07 23:57
Rickey_Me7-May-07 23:57 
AnswerRe: Execute exe Pin
Colin Angus Mackay8-May-07 0:15
Colin Angus Mackay8-May-07 0:15 
AnswerRe: Execute exe Pin
Rickey_Me8-May-07 1:36
Rickey_Me8-May-07 1:36 
GeneralRe: Execute exe Pin
_mubashir8-May-07 2:00
_mubashir8-May-07 2:00 
GeneralRe: Execute exe Pin
Sandeep Akhare8-May-07 2:16
Sandeep Akhare8-May-07 2:16 
GeneralRe: Execute exe Pin
Rickey_Me8-May-07 3:16
Rickey_Me8-May-07 3:16 
QuestionHow to Add Node in DataSet Pin
VenkataRamana.Gali7-May-07 23:43
VenkataRamana.Gali7-May-07 23:43 

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.