RE: CF and cached pages

2001-12-05 Thread Joel Parramore

Ah.  Then something like what I suggested below would work for you, I think,
for the majority of browsers.  I think someone else just posted a concrete
example of the same.

Regards,
Joel Parramore



> -Original Message-
> From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 05, 2001 5:16 PM
> To: CF-Talk
> Subject: RE: CF and cached pages
>
>
> Well, once they logout, and click back they can view the page they logged
> out from, however if they click a link on the admin page they are sent to
> the login page because the check fails for the session. I don't
> want them to
> be confused by the fact that tit looks like they are still logged in when
> they click back..
>
>
>
> -Original Message-
> From: Joel Parramore [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 05, 2001 4:43 PM
> To: CF-Talk
> Subject: RE: CF and cached pages
>
>
> >From the page that the person logs out from: can they do
> anything from that
> point on that appears as though they're still logged in (i.e., a
> bug in the
> login/logout checking)?  Or, if they can't do anything further without
> logging back in, do you just  want them not being able to back up to that
> page at all?
>
> You can try using CF to send no-cache and expires headers in your pages as
> well as using meta tags if you want the latter.  If you're setting cookies
> with session variables, you could use JavaScript in the page to look for a
> valid current session cookie and redirect based on that.
>
> It kinda depends on what you want to do...
>
> Regards,
> Joel Parramore
>
>
> > -Original Message-
> > From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, December 05, 2001 4:12 PM
> > To: CF-Talk
> > Subject: CF and cached pages
> >
> >
> > I have a problem here, I cannot resolve it.
> > My issue is as follows:
> > I have someone login, if successful, I set a session variable. When
> > they log out, I delete that variable from the session structure and
> > send them back to the login page... However, if they hit back on the
> > broweser, they can get into the page they logged out from, which I
> > don't want to happen.
> >
> > I tried using no cache in the meta tag, using cflocation when I send
> > them to the login page after loggin out.. I check for the variabel
> > before the page loads... Nothing works...
> >
> > Any ideas?
> >
> > Michael T. Tangorre
> >
> > 
> > Resident Assistant - Brick
> > Web Applications Developer
> > A.U. Webteam Slave  :-)
> > AIM: CrazyFlash4
> >
>
> 
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF and cached pages

2001-12-05 Thread Tangorre, Michael T.

Well, once they logout, and click back they can view the page they logged
out from, however if they click a link on the admin page they are sent to
the login page because the check fails for the session. I don't want them to
be confused by the fact that tit looks like they are still logged in when
they click back..



-Original Message-
From: Joel Parramore [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 05, 2001 4:43 PM
To: CF-Talk
Subject: RE: CF and cached pages


>From the page that the person logs out from: can they do anything from that
point on that appears as though they're still logged in (i.e., a bug in the
login/logout checking)?  Or, if they can't do anything further without
logging back in, do you just  want them not being able to back up to that
page at all?

You can try using CF to send no-cache and expires headers in your pages as
well as using meta tags if you want the latter.  If you're setting cookies
with session variables, you could use JavaScript in the page to look for a
valid current session cookie and redirect based on that.

It kinda depends on what you want to do...

Regards,
Joel Parramore


> -Original Message-
> From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 05, 2001 4:12 PM
> To: CF-Talk
> Subject: CF and cached pages
>
>
> I have a problem here, I cannot resolve it.
> My issue is as follows:
> I have someone login, if successful, I set a session variable. When 
> they log out, I delete that variable from the session structure and 
> send them back to the login page... However, if they hit back on the 
> broweser, they can get into the page they logged out from, which I 
> don't want to happen.
>
> I tried using no cache in the meta tag, using cflocation when I send 
> them to the login page after loggin out.. I check for the variabel 
> before the page loads... Nothing works...
>
> Any ideas?
>
> Michael T. Tangorre
>
> 
> Resident Assistant - Brick
> Web Applications Developer
> A.U. Webteam Slave  :-)
> AIM: CrazyFlash4
> 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF and cached pages

2001-12-05 Thread Michael Haggerty





This should work... put it on the page the user goes to after logging out.
:^)

Or, try, this, and replace session.varname with the one used in your
structure.






Mike

-Original Message-
From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 4:12 PM
To: CF-Talk
Subject: CF and cached pages


I have a problem here, I cannot resolve it.
My issue is as follows:
I have someone login, if successful, I set a session variable.
When they log out, I delete that variable from the session structure and
send them back to the login page... However, if they hit back on the
broweser, they can get into the page they logged out from, which I don't
want to happen.

I tried using no cache in the meta tag, using cflocation when I send them to
the login page after loggin out.. I check for the variabel before the page
loads... Nothing works...

Any ideas?

Michael T. Tangorre


Resident Assistant - Brick
Web Applications Developer
A.U. Webteam Slave  :-)
AIM: CrazyFlash4

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF and cached pages

2001-12-05 Thread Joel Parramore

>From the page that the person logs out from: can they do anything from that
point on that appears as though they're still logged in (i.e., a bug in the
login/logout checking)?  Or, if they can't do anything further without
logging back in, do you just  want them not being able to back up to that
page at all?

You can try using CF to send no-cache and expires headers in your pages as
well as using meta tags if you want the latter.  If you're setting cookies
with session variables, you could use JavaScript in the page to look for a
valid current session cookie and redirect based on that.

It kinda depends on what you want to do...

Regards,
Joel Parramore


> -Original Message-
> From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 05, 2001 4:12 PM
> To: CF-Talk
> Subject: CF and cached pages
>
>
> I have a problem here, I cannot resolve it.
> My issue is as follows:
> I have someone login, if successful, I set a session variable.
> When they log out, I delete that variable from the session structure and
> send them back to the login page... However, if they hit back on the
> broweser, they can get into the page they logged out from, which I don't
> want to happen.
>
> I tried using no cache in the meta tag, using cflocation when I
> send them to
> the login page after loggin out.. I check for the variabel before the page
> loads... Nothing works...
>
> Any ideas?
>
> Michael T. Tangorre
>
> 
> Resident Assistant - Brick
> Web Applications Developer
> A.U. Webteam Slave  :-)
> AIM: CrazyFlash4
> 
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF and cached pages

2001-12-05 Thread Janine Jakim







LearningExpress Online
















Goodbye




On my logout page I put the following:











































  
  
  





This works great on a pc--you are always returned to the default page.
However, I never could come up with a solution for mac users (the majority
of our users).  I ended up making it so that a 2nd window opens when they
want to log in then it closes when they log out.  They can't see any urls in
the 2nd window so they can't bookmark anything either.
Hope this helps.
J


 

-Original Message-
From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 4:12 PM
To: CF-Talk
Subject: CF and cached pages


I have a problem here, I cannot resolve it.
My issue is as follows:
I have someone login, if successful, I set a session variable.
When they log out, I delete that variable from the session structure and
send them back to the login page... However, if they hit back on the
broweser, they can get into the page they logged out from, which I don't
want to happen.

I tried using no cache in the meta tag, using cflocation when I send them to
the login page after loggin out.. I check for the variabel before the page
loads... Nothing works...

Any ideas?

Michael T. Tangorre


Resident Assistant - Brick
Web Applications Developer
A.U. Webteam Slave  :-)
AIM: CrazyFlash4

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CF and cached pages

2001-12-05 Thread Gyrus

> I have someone login, if successful, I set a session variable.
> When they log out, I delete that variable from the session structure and
> send them back to the login page... However, if they hit back on the
> broweser, they can get into the page they logged out from, which I don't
> want to happen.
>
> I tried using no cache in the meta tag, using cflocation when I send them
to
> the login page after loggin out.. I check for the variabel before the page
> loads... Nothing works...

Surely some sort of check in Application.cfm for the session variable?
The logic usually goes something like this, if you send everything via
index.cfm:

Application.cfm
Is session var defined & valid?
YES > Let them through to page via index.cfm
NO > Include login page and abort

Is this what you meant? But you do say you've tried checking for the
variable before the page loads, so... There must be a snag in the
logic of checking/chucking out. Can't offer anything else without
knowing your code, really, sorry!

- Gyrus


~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists