E
earl
If I logout of my websie I run the session.abandon command that is
supposedly gonna destroys all session variables. Then if try to access a
private asp page it actually shows up despite me having :
if not Session("login") = "true" then response.Redirect("login.asp") at the
start of every private page.
If I hit refresh on the private page I do get redirect but I dont see why it
doesnt happen straight away.
Another thing, kind of the same problem, when I add record to my access
database then I goto the page that actually shows does record I sometime
need to hit refresh for the new record to show up.
Here is a code snip of inserting a record
sSql = "Insert into News(.....) values(.....)
set adoCon = server.CreateObject ("adodb.connection")
adoCon.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &_
Server.MapPath("database.mdb") & ";Persist Security Info=False"
adoCon.execute sSql
adoCon.close
set adoCon = Nothing
supposedly gonna destroys all session variables. Then if try to access a
private asp page it actually shows up despite me having :
if not Session("login") = "true" then response.Redirect("login.asp") at the
start of every private page.
If I hit refresh on the private page I do get redirect but I dont see why it
doesnt happen straight away.
Another thing, kind of the same problem, when I add record to my access
database then I goto the page that actually shows does record I sometime
need to hit refresh for the new record to show up.
Here is a code snip of inserting a record
sSql = "Insert into News(.....) values(.....)
set adoCon = server.CreateObject ("adodb.connection")
adoCon.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &_
Server.MapPath("database.mdb") & ";Persist Security Info=False"
adoCon.execute sSql
adoCon.close
set adoCon = Nothing