<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head><body>
<!--- Create the application --->
<cfapplication name="MyApp" clientmanagement="Yes"
sessionmanagement="Yes"
sessiontimeout="#CreateTimeSpan(0,0,15,0)#"
applicationtimeout="#CreateTimeSpan(0,2,0,0)#"><!--- Now define that this user is logged out by default ---> <CFPARAM NAME="session.allowin" DEFAULT="false">
<!--- Now if the variable "session.allowin" does not equal true, send user to the login page --->
<!---
the other thing you must check for is if the page calling this application.cfm is the "login.cfm" page
and the "Login_process.cfm" page since the Application.cfm is always called, if this is not checked
the application will simply Loop over and over. To check that, you do the following call
--->
<cfif session.allowin neq "true">
<cfif ListLast(CGI.SCRIPT_NAME, "/") EQ "login.cfm">
<cfelseif ListLast(CGI.SCRIPT_NAME, "/") EQ "login_process.cfm">
<cfelse>
<!--- this user is not logged in, alert user and redirect to the login.cfm page --->
<script>
alert("You must login to access this area!");
self.location="login.cfm";
</script>
</cfif>
</cfif>
</body> </html>
From: "(s) Fiona Tope" <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: [ cf-dev ] HOW TO CREATE AN SQL DATABASE Date: Sun, 21 Mar 2004 18:46:44 -0000
I had similar problem before, use the ODBC connectivity instead. Rgds, Fiona
-----Original Message----- From: sanjay sidar [mailto:[EMAIL PROTECTED] Sent: Sun 21/03/2004 17:28 To: [EMAIL PROTECTED] Cc: Subject: RE: [ cf-dev ] HOW TO CREATE AN SQL DATABASE
I am trying to create a database using sql, i am doing my final year uni project on coldfusion mx, and sql server. When i go into cf administrator and then into datasourses, and try to add in a database i get several errors, i have checked my username and password, they are all right what else could it be???
>From: "Snake Hollywood" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: RE: [ cf-dev ] WooHoo It works ...
>Date: Fri, 19 Mar 2004 23:28:07 -0000
>
>And I am Automan....
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Sent: 19 March 2004 11:52
> > To: [EMAIL PROTECTED]
> > Subject: RE: [ cf-dev ] WooHoo It works ...
> >
> >
> >
> > Yes I am SQL server 2k
> >
> >
> >
> >
> > **************************************************************
> > ***********************************
> > The information contained within this e-mail (and any
> > attachment) sent by Birmingham City Council is confidential
> > and may be legally privileged. It is intended only for the
> > named recipient or entity to whom it is addressed. If you are
> > not the intended recipient please accept our apologies and
> > notify the sender immediately, or telephone +(44) 121 303
> > 6666. Unauthorised access, use, disclosure, storage or
> > copying is not permitted and may be unlawful. Any e-mail
> > including its content may be monitored and used by Birmingham
> > City Council for reasons of security and for monitoring
> > internal compliance with the office policy on staff use.
> > E-mail blocking software may also be used. Any views or
> > opinions presented are solely those of the originator and do
> > not necessarily represent those of Birmingham City Council.
> > We cannot guarantee that this message or any attachment is
> > virus free or has not been intercepted and amended.
> >
> > **************************************************************
> > ***********************************
> >
> >
> > --
> > These lists are syncronised with the CFDeveloper forum at
> > http://forum.cfdeveloper.co.uk/
> > Archive:
> > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> >
> > CFDeveloper Sponsors and contributors:-
> > *Hosting and support provided by CFMXhosting.co.uk* ::
> > *ActivePDF provided by activepdf.com*
> > *Forums provided by fusetalk.com* :: *ProWorkFlow
> > provided by proworkflow.com*
> > *Tutorials provided by helmguru.com* :: *Lists
> > hosted by gradwell.com*
> >
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >
>
>
>--
>These lists are syncronised with the CFDeveloper forum at
>http://forum.cfdeveloper.co.uk/
>Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
>CFDeveloper Sponsors and contributors:-
>*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided
>by activepdf.com*
> *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
>proworkflow.com*
> *Tutorials provided by helmguru.com* :: *Lists hosted by
>gradwell.com*
>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>
_________________________________________________________________ Find a cheaper internet access deal - choose one to suit you. http://www.msn.co.uk/internetaccess
--
These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com*
*Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
*Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*
To unsubscribe, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger
-- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by
activepdf.com*
*Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
*Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*To unsubscribe, e-mail: [EMAIL PROTECTED]
