Click here to Skip to main content
15,905,612 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Extraction of datas Pin
John.L.Ponratnam9-Nov-08 17:20
John.L.Ponratnam9-Nov-08 17:20 
QuestionHow to add New Row to a datagrid ? [modified] Pin
Prasadsm4-Nov-08 2:35
Prasadsm4-Nov-08 2:35 
QuestionHelp needs in Logging In Pin
Senthil S4-Nov-08 1:53
Senthil S4-Nov-08 1:53 
AnswerRe: Help needs in Logging In Pin
cyber-drugs4-Nov-08 2:14
cyber-drugs4-Nov-08 2:14 
GeneralRe: Help needs in Logging In Pin
Senthil S4-Nov-08 2:19
Senthil S4-Nov-08 2:19 
AnswerRe: Help needs in Logging In Pin
saanj4-Nov-08 6:03
saanj4-Nov-08 6:03 
AnswerRe: Help needs in Logging In Pin
D4ever6-Nov-08 8:17
D4ever6-Nov-08 8:17 
QuestionUsers Bypass the Login Screen Pin
Vimalsoft(Pty) Ltd4-Nov-08 1:26
professionalVimalsoft(Pty) Ltd4-Nov-08 1:26 
Good Afternoon Guys

i have a Web Application that, it has a login Screen. I tried to make sure that a User does not bypass the login Screen on the Page load event i used the following line of code

if (Session.IsNewSession)
      {
          Response.Redirect("login.aspx");
      }
.

to Prevent the user going straight to other pages ,i have successfully used this code


Response.Write("<script> window.history.forward(1);</script>;");
.

to make sure that they dont use back to bypass the Pages. Now if a User can log in and Copy the URL to the Exact page they want it does directly ,

How can i prevent this

Thank you

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


AnswerRe: Users Bypass the Login Screen Pin
Brij4-Nov-08 2:47
mentorBrij4-Nov-08 2:47 
GeneralRe: Users Bypass the Login Screen Pin
Vimalsoft(Pty) Ltd4-Nov-08 2:54
professionalVimalsoft(Pty) Ltd4-Nov-08 2:54 
AnswerRe: Users Bypass the Login Screen Pin
Brij4-Nov-08 3:02
mentorBrij4-Nov-08 3:02 
GeneralRe: Users Bypass the Login Screen Pin
Vimalsoft(Pty) Ltd5-Nov-08 0:43
professionalVimalsoft(Pty) Ltd5-Nov-08 0:43 
QuestionSql Database Pin
shanthi jothi4-Nov-08 0:37
shanthi jothi4-Nov-08 0:37 
AnswerRe: Sql Database Pin
Vimalsoft(Pty) Ltd4-Nov-08 0:55
professionalVimalsoft(Pty) Ltd4-Nov-08 0:55 
AnswerRe: Sql Database Pin
J a a n s4-Nov-08 1:12
professionalJ a a n s4-Nov-08 1:12 
GeneralRe: Sql Database Pin
shanthi jothi4-Nov-08 1:38
shanthi jothi4-Nov-08 1:38 
AnswerRe: Sql Database Pin
Ashfield4-Nov-08 1:30
Ashfield4-Nov-08 1:30 
QuestionTextBox ID Problem Pin
raghvendrapanda4-Nov-08 0:23
raghvendrapanda4-Nov-08 0:23 
AnswerRe: TextBox ID Problem Pin
Ashfield4-Nov-08 0:26
Ashfield4-Nov-08 0:26 
GeneralRe: TextBox ID Problem Pin
raghvendrapanda4-Nov-08 0:35
raghvendrapanda4-Nov-08 0:35 
GeneralRe: TextBox ID Problem Pin
Ashfield4-Nov-08 1:32
Ashfield4-Nov-08 1:32 
Question3-Tier Architecture Pin
Samiullah4-Nov-08 0:17
Samiullah4-Nov-08 0:17 
AnswerRe: 3-Tier Architecture Pin
Ashfield4-Nov-08 0:27
Ashfield4-Nov-08 0:27 
AnswerRe: 3-Tier Architecture Pin
Vimalsoft(Pty) Ltd4-Nov-08 0:52
professionalVimalsoft(Pty) Ltd4-Nov-08 0:52 
AnswerRe: 3-Tier Architecture Pin
Brij4-Nov-08 2:55
mentorBrij4-Nov-08 2:55 

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.