It's not secure.

Here's how it works ... user arrives at home page.  There is a login box on
the page (as part of much more on the page).

What is supposed to happen is user logs in, page is reloaded.  The login box
goes away, some new, members only content appears.

The new content appears based on whether the login is successful. That isn't
a problem.

The login box goes away based on a couple of client variables being set.
But the login box doesn't go away. Hit refresh, and it does go away.

H.


-----Original Message-----
From: Andrew Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 7:22 AM
To: CF-Talk
Subject: RE: Client Variable Question


There needs to be a bit more explained, when you say they are not there.
I'll ask is the login page a secured page (SSL) if so then the CFID &
CFToken are being reset to a new value, I will bet this is the scenario
if not then you'll need to explain it a bit more in detail.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 19 February 2002 7:45 PM
To: CF-Talk
Subject: Client Variable Question

I haven't used client variables much in the past, but I'm working on a
project where I think I prefer them.

Here's the issue I've run into:

I have a login page ... on a successful login a series of client vars
get
set.

The user clicks submit and a "custom" page should be served up with
certain
vars being displayed.  The problem is, after the first form submission,
the
user is getting the form page again (the form is default for the page,
absent client vars being loaded).  If the user hits refresh, then the
client
vars are set.

In other words, the client vars are not being set the first time through
the
system.  The results of the client vars are not present until the second
reload of the page.

Any reason why? What should I be looking at for the cause?  Cannot I not
return the user to the same, but modified page (modified based on the
login
and client vars) and use client vars?

I never ran into this issue using session vars.

H.


______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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

Reply via email to