You need to check the user id and password every time in each page from session
if the session is empty or wrong user id and password you should able to redirect user to login page .
When you click sign out remove the data from the session .
But i don't think this is solution for your query as it is happenening because of Cache. Wait need to find different way
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... "
Wow - I wouldn't do that. I would create a new project from scratch, and copy the HTML across into the pages, then add the event handlers, etc. You don't want to mix your C# code with your HTML, that's just ugly.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
I found this question in a Microsoft self-assessment test for C# 2.0 MCP. I have been asked to write the MCP exam for C# 2.0 by my manager, I was browsing through the Microsoft website when I found this test and I came across this question.
I got 6 out of 30 questions right, I hope that explains my knowledge in C# 2.0
Can anyone advice me how to go about preparing for this exam? We do not have access to Google or such web sites here at office, they only allow .NET related web sites here, like codeproject.
I have a master.page and a Default.aspx page. I'm trying to use AJAX
to postback to the server. However, when I place the
<asp:scriptmanager ...tag="" on="" the="" default.aspx="" page="" i="" get="" an="" "element
'scriptmanager'="" is="" not="" a="" known="" element.="" this="" can="" occur="" if="" there="" a
compilation="" error="" web="" site."=""
i can connect to the remote machine and i can see the list of process.
when i attach, its loads some files( can see in the status bar) , and nothing happening.
but its not loading the attached process code or any thing.. i cannot see any thing. i cannot set break point or any thing , no window (or codebenined file ) is comming up to set a breakpoint.
please help me, iam using VS2005, windows 2000 professional. (both soruce and target machines has the same configuration and similar settings)
the output windows shows the following information
'aspnet_wp.exe': Loaded 'C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet_wp.exe', No symbols loaded.
'aspnet_wp.exe': Loaded 'C:\WINNT\system32\ntdll.dll', Cannot find or open a required DBG file.
'aspnet_wp.exe': Loaded 'C:\WINNT\system32\kernel32.dll', Cannot find or open a required DBG file.
'aspnet_wp.exe': Loaded 'C:\WINNT\system32\msvcr80.dll', No symbols loaded.
'aspnet_wp.exe': Loaded 'C:\WINNT\system32\msvcrt.dll', No symbols loaded
I have an ASP.NET page with a programmatically created table. The table contains some text boxes whose content I need to get at at the post back. Alas, since the table is created programmatically, its structure nor its contents isn't maintained through the post back.
I'm sure I can access it at some point in the page life cycle but I can't really figure out when and how.
How can I access the content of some programmatically added text boxes in a programmatically created table?
"When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."