Hi all.
Anyone help with a problem I am having with ASP & MS Access?
I have a login page that uses a MS Access database to check the login
details. The access_check.asp is a seperate ASP file.
Connection to the database is DSN-Less.
I can log in ok but after a few seconds, I get logged out and kicked
back to the login.asp page.
If the password and user name exists and is a valid pair then set the
session like so:
Session("IamIn") = "true"
The session is then read on each page using:
<%
Response.Buffer = True
If session("IamIn") <> "true" Then
Response.Redirect("index.asp")
End If
%>
I have checked that the session is on the other pages and that the
SQL is showing correctly.
Anyone help?
Thanks,
S
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [email protected]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/