Sorry for bad english :(
===============
Hello you all greate web guru
I am a learner of web developement. I have create two pages one is login page and other is UserHome.aspx. It will open after success full login.
When user enters correct information then following works
if(myDatareader.read()==true)
{
Request.Redirect("UserHome.aspx?ID="+Session.SessionID);
}
I am sendind an session ID to check continues of webpage. And written inf UserHome.aspx
Page_load(ss,ss)
{
If(Request.QueryString["ID"]!="" || Request.QueryString["ID"]==null)
{
Request.Redirect("User.aspx");
}
}
Its working fine. But problem is that its really nothing means security. because when Url copy the UserHom.aspx with any ID value its open.
I want that User login only after that UserHOme.aspx will open otherwise not.
will you suggest me technique that how can I manage User in my web.
Thanks in Advance
2007-02-06
07:43:27
·
2 answers
·
asked by
Jack J
1
in
Computers & Internet
➔ Programming & Design