Click here to Skip to main content
16,008,010 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: On Enter move on next TextBox..? Pin
fmlove10-Aug-07 2:16
fmlove10-Aug-07 2:16 
GeneralRe: On Enter move on next TextBox..? Pin
Michael Sync10-Aug-07 6:50
Michael Sync10-Aug-07 6:50 
QuestionMove on nextText Box ..? Pin
fmlove10-Aug-07 0:39
fmlove10-Aug-07 0:39 
AnswerRe: Move on nextText Box ..? Pin
N a v a n e e t h10-Aug-07 1:17
N a v a n e e t h10-Aug-07 1:17 
Questiontreeview Pin
Nidhiii10-Aug-07 0:35
Nidhiii10-Aug-07 0:35 
AnswerRe: treeview Pin
S A R I T H10-Aug-07 0:37
S A R I T H10-Aug-07 0:37 
AnswerRe: treeview Pin
koolprasad200310-Aug-07 1:26
professionalkoolprasad200310-Aug-07 1:26 
QuestionAccess to the path #### is denied Pin
Sebastian T Xavier10-Aug-07 0:15
Sebastian T Xavier10-Aug-07 0:15 
AnswerRe: Access to the path #### is denied Pin
Blue_Boy10-Aug-07 0:50
Blue_Boy10-Aug-07 0:50 
GeneralRe: Access to the path #### is denied Pin
Sebastian T Xavier10-Aug-07 1:20
Sebastian T Xavier10-Aug-07 1:20 
GeneralRe: Access to the path #### is denied Pin
Blue_Boy10-Aug-07 2:21
Blue_Boy10-Aug-07 2:21 
AnswerRe: Access to the path #### is denied Pin
R. Giskard Reventlov10-Aug-07 3:10
R. Giskard Reventlov10-Aug-07 3:10 
Questiontextbox problem Pin
Kissy1610-Aug-07 0:10
Kissy1610-Aug-07 0:10 
AnswerRe: textbox problem Pin
Imran Khan Pathan10-Aug-07 0:19
Imran Khan Pathan10-Aug-07 0:19 
GeneralRe: textbox problem Pin
Kissy1610-Aug-07 0:49
Kissy1610-Aug-07 0:49 
AnswerRe: textbox problem Pin
N a v a n e e t h10-Aug-07 0:25
N a v a n e e t h10-Aug-07 0:25 
GeneralRe: textbox problem Pin
Kissy1610-Aug-07 0:58
Kissy1610-Aug-07 0:58 
AnswerRe: textbox problem Pin
Urs Enzler10-Aug-07 0:41
Urs Enzler10-Aug-07 0:41 
AnswerRe: textbox problem Pin
koolprasad200310-Aug-07 1:30
professionalkoolprasad200310-Aug-07 1:30 
Questionis this heathy Pin
aziz_subaie10-Aug-07 0:08
aziz_subaie10-Aug-07 0:08 
AnswerRe: is this heathy Pin
rahul.net1110-Aug-07 0:52
rahul.net1110-Aug-07 0:52 
GeneralRe: is this heathy Pin
aziz_subaie10-Aug-07 1:17
aziz_subaie10-Aug-07 1:17 
GeneralRe: is this heathy Pin
rahul.net1110-Aug-07 2:33
rahul.net1110-Aug-07 2:33 
GeneralRe: is this heathy Pin
aziz_subaie10-Aug-07 3:15
aziz_subaie10-Aug-07 3:15 
AnswerRe: is this heathy Pin
N a v a n e e t h10-Aug-07 1:05
N a v a n e e t h10-Aug-07 1:05 
In each page load where authentication is needed you need to ensure that login details are supplied. You can check session in page load like

if ( Session["userid"] == null )
   Response.Redirect("Login.aspx");


User id is the session variable which you are filling when user logs in.

If you have lot of pages which needs this checking, better approach would be creating a base class that does this. Inherit all your pages from this base class.


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.