RE: Session variables not working

2012-02-28 Thread Rick Faircloth
Thanks, Jay! Rick -Original Message- From: Jay Pandya [mailto:jaypandy...@gmail.com] Sent: Tuesday, February 28, 2012 12:49 AM To: cf-talk Subject: Re: Session variables not working Hi Rick, When you are using session variables and you want to get its value in other page

RE: Session variables not working

2012-02-28 Thread Rick Faircloth
I normally use an application.cfc, but this was just a quick "proof-of-concept" that I threw together to test something. -Original Message- From: James Holmes [mailto:james.hol...@gmail.com] Sent: Monday, February 27, 2012 10:56 PM To: cf-talk Subject: Re: Session variables n

RE: Session variables not working

2012-02-28 Thread Rick Faircloth
Thanks for that reminder... it's been years since I've even used cflocation! My how knowledge, unused, is fleeting... -Original Message- From: Azadi Saryev [mailto:azadi.sar...@gmail.com] Sent: Monday, February 27, 2012 9:20 PM To: cf-talk Subject: Re: Session variables not wo

Re: Session variables not working

2012-02-27 Thread Jay Pandya
Hi Rick, When you are using session variables and you want to get its value in other page after using cflocation then you need to enable seclientcookies true in cfapplication tag. More description you can read on http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_a-b

Re: Session variables not working

2012-02-27 Thread James Holmes
; > I get 'rick'... > > > > But that's on the same page. > > > > Would that work but not session variables between pages > > with session management being enabled in application.cfc? > > > > Rick > > > > -Original Message-

Re: Session variables not working

2012-02-27 Thread Azadi Saryev
being enabled in application.cfc? > > Rick > > -Original Message- > From: Steve Milburn [mailto:scmilb...@gmail.com] > Sent: Monday, February 27, 2012 3:18 PM > To: cf-talk > Subject: Re: Session variables not working > > > Have you enabled session management in

RE: Session variables not working

2012-02-27 Thread Rick Faircloth
Thanks for the reminder! Rick -Original Message- From: Steve Milburn [mailto:scmilb...@gmail.com] Sent: Monday, February 27, 2012 3:42 PM To: cf-talk Subject: Re: Session variables not working Correction on my previous post: The variable was stored in variables.session.name (not

Re: Session variables not working

2012-02-27 Thread Steve Milburn
management being enabled in application.cfc? >> >> Rick >> >> -Original Message- >> From: Steve Milburn [mailto:scmilb...@gmail.com] >> Sent: Monday, February 27, 2012 3:18 PM >> To: cf-talk >> Subject: Re: Session variables not working >>

Re: Session variables not working

2012-02-27 Thread Steve Milburn
Rick > > -Original Message- > From: Steve Milburn [mailto:scmilb...@gmail.com] > Sent: Monday, February 27, 2012 3:18 PM > To: cf-talk > Subject: Re: Session variables not working > > > Have you enabled session management in the application.cfc? > > On M

RE: Session variables not working

2012-02-27 Thread Rick Faircloth
18 PM To: cf-talk Subject: Re: Session variables not working Have you enabled session management in the application.cfc? On Mon, Feb 27, 2012 at 3:14 PM, Rick Faircloth wrote: > > It's been awhile since I used session variables, > but this is simple. Wh

Re: Session variables not working

2012-02-27 Thread Russ Michaels
rk but not session variables between pages > with session management being enabled in application.cfc? > > Rick > > -Original Message- > From: Steve Milburn [mailto:scmilb...@gmail.com] > Sent: Monday, February 27, 2012 3:18 PM > To: cf-talk > Subject: Re: Session variable

RE: Session variables not working

2012-02-27 Thread Rick Faircloth
7;rick'... But that's on the same page. Would that work but not session variables between pages with session management being enabled in application.cfc? Rick -Original Message- From: Steve Milburn [mailto:scmilb...@gmail.com] Sent: Monday, February 27, 2012 3:18 PM To: cf-

Re: Session variables not working

2012-02-27 Thread Steve Milburn
Have you enabled session management in the application.cfc? On Mon, Feb 27, 2012 at 3:14 PM, Rick Faircloth wrote: > > It's been awhile since I used session variables, > but this is simple. Why won't this work? > > session-test.cfm > > > > > #session.name# > > > > > session-t

Re: Session Variables

2011-10-18 Thread Russ Michaels
+1 as Dave said. it seems what you really want is probably a "remember me" function that keeps users logged in, this will simply save a cookie with an encrypted copy of their username/password and log them in again when the session expires. If you specifically want to store the session data for 14

Re: Session Variables

2011-10-18 Thread Dave Watts
> By default session variables have a maximum timeout period of 20 minutes. > You can manually specify a timeout of something less than that value, but > nothing more.  If you want your sessions to timeout in 14 days, then you > have to change the maximum timeout values on your server to something

Re: Session Variables

2011-10-18 Thread Rick T
Thanks guys! > sessionmanagement="yes" > sessiontimeout="#CreateTimeSpan(14,0,0,0)#"> > > My session expires in as little as 20 minutes, I dont understand why > so early when I set the timeout for 14 days. ~| Order the Ado

Re: Session Variables

2011-10-18 Thread Carl Von Stetten
Rick, What is your applicationtimeout set to? If it's set to 20 minutes, it will clear your session cache as well (I think). Also, check your application and session timeout settings in CF Admin. HTH, Carl On 10/18/2011 10:32 AM, Rick T wrote: >sessionmanagement="yes" > sessiontimeout

Re: Session Variables

2011-10-18 Thread Steve Milburn
What is the maximum time-out period defined for memory variables on your server? By default session variables have a maximum timeout period of 20 minutes. You can manually specify a timeout of something less than that value, but nothing more. If you want your sessions to timeout in 14 days, then

RE: Session variables security

2011-01-26 Thread Andrew Scott
cott.id.au/ > -Original Message- > From: Rob Voyle [mailto:robvo...@voyle.com] > Sent: Wednesday, 26 January 2011 5:09 PM > To: Andrew Scott; cf-talk@houseoffusion.com > Subject: Re: Session variables security > > Hi Andrew > > have you used this firewall or

RE: Session variables security

2011-01-25 Thread Andrew Scott
:robvo...@voyle.com] > Sent: Wednesday, 26 January 2011 11:53 AM > To: cf-talk > Subject: Re: Session variables security > > > Hi Folks > > I have several large forms connected to mySql tables. > I use has been validated for content that I need (no blank fields etc.) >

Re: Session variables security

2011-01-25 Thread Rob Voyle
Hi Folks I have several large forms connected to mySql tables. I use ]', checkVariables)> "" in one of the fields"> "> "> ~

Re: Session variables security

2011-01-24 Thread Richard White
OK thanks Ian >On 1/24/2011 8:57 AM, Richard White wrote: > >Only if there is a place in your code for them to do so. If you have a >vulnerable piece of code that can give unexpected and undesired results >because of malicious inputs form the client, then you have a problem. > >But it is not a

Re: Session variables security

2011-01-24 Thread Ian Skinner
On 1/24/2011 8:57 AM, Richard White wrote: > Hi, > > When the user logs in, I save their username to the session scope. > > Would i need to re-validate that username at the top of every page that uses > it in a database query? > > I previously thought this was not necessary but if it is possible

Re: SESSION variables and cflock

2010-08-04 Thread Jason Fisher
Think iframes or Ajax calls or other types of situations where A User may be session-linked to more than one current thread / process. In those cases, if there is potential for simultaneous writes to a session var, then you could theoretically have a clash. If your app uses no Ajax and has no

Re: SESSION variables and cflock

2010-08-04 Thread Dave Watts
> The book says you should act on SESSION variables within a cflock because of > potential collisions. But are my SESSION > variables not mine and inaccessible to anyone else? How could there be a > collision? The same browser can make multiple concurrent requests; they will all be in the same

Re: session variables

2010-03-23 Thread daniel kessler
> Session data in ColdFusion is tied to unique combinations of user, > browser and domain. And the http and https versions of your website > are > viewed as two different domains. This is due to the normal behavior > of > ColdFusion using cookies to pass the tokens that lets it know with >

Re: session variables

2010-03-22 Thread Ian Skinner
On 3/22/2010 10:35 AM, daniel kessler wrote: > > Honestly, I'm not sure I'm understanding the problem and I am just trying to > work through it. > Session data in ColdFusion is tied to unique combinations of user, browser and domain. And the http and https versions of your website are vie

Re: session variables

2010-03-22 Thread daniel kessler
>From a session perspective, the session cookie (the browser side of the >session) for https://www.mysite.com is *not* shared with the session >cookie for http://www.mysite.com. It sounds like they then won't mess with each other. If I wanted to get rid of the https variables then I could jus

RE: session variables

2010-03-22 Thread Justin Scott
> I'm not setting cookies though, but session variables. That's what I get for responding to the list while on the phone, doh! -Justin ~| Want to reach the ColdFusion community with something they want? Let them know on the

Re: session variables

2010-03-22 Thread Jason Fisher
From a session perspective, the session cookie (the browser side of the session) for https://www.mysite.com is *not* shared with the session cookie for http://www.mysite.com. If crossing from one to the other, therefore, there are 2 options: 1) User has to log back in after the switch 2)

Re: session variables

2010-03-22 Thread Ian Skinner
On 3/22/2010 8:55 AM, daniel kessler wrote: > >> Are you using the secure attribute when setting the cookies? >> > I don't know about a secure attribute. I'm not setting cookies though, but > session variables. > > CFML relies on two values CFID and CFTOKEN, or a single value JSES

Re: session variables

2010-03-22 Thread daniel kessler
>Are you using the secure attribute when setting the cookies? I don't know about a secure attribute. I'm not setting cookies though, but session variables. > Is the SSL >domain the same as the non-SSL domain (i.e. secure.example.com vs. >www.example.com)? I'm just adding an "s" to http. In

RE: session variables

2010-03-22 Thread Justin Scott
> Since then, anyone that tried to log in when it was using > https is now having problems with their session variables > when logging now that it is using http. Are you using the secure attribute when setting the cookies? Is the SSL domain the same as the non-SSL domain (i.e. secure.example.com

RE: Session variables across servers

2008-05-09 Thread Scott Stewart
ieten [mailto:[EMAIL PROTECTED] Sent: Friday, May 09, 2008 3:20 AM To: CF-Talk Subject: Re: Session variables across servers Scott Stewart wrote: > I'm looking for different possibilities > it's a rig until they move the sites to the same server... You efforts are probably be

Re: Session variables across servers

2008-05-09 Thread Jochem van Dieten
Scott Stewart wrote: > I'm looking for different possibilities > it's a rig until they move the sites to the same server... You efforts are probably better spent speeding up the site move. Jochem ~| Adobe® ColdFusion® 8 sof

RE: Session variables across servers

2008-05-08 Thread Scott Stewart
From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, May 08, 2008 12:22 PM To: CF-Talk Subject: RE: Session variables across servers > We've got a weird temporary issue.. We have two websites, on > different servers under different domains. > They need one login for both site

RE: Session variables across servers

2008-05-08 Thread Dave Watts
> We've got a weird temporary issue.. We have two websites, on > different servers under different domains. > They need one login for both sites. > > My understanding is that J2EE Session variables will persist > between servers/domains. If you're using cookies for your session tokens, they can

RE: Session variables across servers

2008-05-08 Thread Scott Stewart
: Thursday, May 08, 2008 11:57 AM To: CF-Talk Subject: RE: Session variables across servers Session will persist between two domains if you have the same cfapplication on both sites and keep passing in the same cfid and cftoken values when going from one domain to another. Session replication between

RE: Session variables across servers

2008-05-08 Thread Scott Stewart
, 2008 11:57 AM To: CF-Talk Subject: RE: Session variables across servers Session will persist between two domains if you have the same cfapplication on both sites and keep passing in the same cfid and cftoken values when going from one domain to another. Session replication between physical servers

RE: Session variables across servers

2008-05-08 Thread Brad Wood
Session will persist between two domains if you have the same cfapplication on both sites and keep passing in the same cfid and cftoken values when going from one domain to another. Session replication between physical servers is another thing. You need to be running ColdFusion enterprise, and ha

Re: Session variables expireation issue

2008-05-02 Thread marc --
Ok, I found the cause: onSessionStart() #THIS.sessionTimeout # outputs 10. Which means 10 days since the createTimespan() function returns units of days (eg CreateTimespan(1,0,0,0)eq 1 and CreateTimespan(0,12,0,0) eq 0.5) onApplicationStart() THIS.sessiontimeout=CreateTimeSpan(0,0,0,10) #THIS

RE: Session variables expiration issue

2008-05-02 Thread Dave Watts
> Just a basic question about session variables.I can't get > them to 100% work as I want. Maybe I don't understand so > that's when it's time to turn to the list :) I want to use > session variables that expire a) when the user closes the > browser OR b) when a session times out,whatever comes

RE: Session variables expireation issue

2008-05-02 Thread Bobby Hartsfield
Just use J2EE session variables within the CF administrator. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: marc -- [mailto:[EMAIL PROTECTED] Sent: Friday, May 02, 2008 4:53 PM To: CF-Talk Subject: Session variables expireati

RE: Session variables and cookies

2007-05-24 Thread Peterson, Chris
I think what many people need to understand is this: The web is state-less. There is nothing in the internet at large that is meant to follow you from page to page, and maintain if you are logged in or not. Anything you do to build a shopping cart, log a user in, is in essence somewhat of a hack

Re: Session variables and cookies

2007-05-24 Thread Robertson-Ravo, Neil (RX)
You will need to pass the cfid/token with every request if cookies are expected to be off. "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains informat

Re: Session variables and cookies

2007-05-24 Thread Josh Nathanson
> Okay, I've searched the archives but want to get it straight. I've built a > shopping cart using session variables. But, it looks like if a user has > cookies turned off, the cart won't retain the contents. Is this correct? Yes, if you are not passing the CFID and CFTOKEN with a request, and t

Re: Session variables

2006-12-14 Thread James Holmes
And if you are in doubt, just wrap every url in your app with the URLSessionFormat() function (if you are on CF7) and that will automatically do the job if cookies are off and leave the URL alone if they are on. On 12/14/06, Dave Watts <[EMAIL PROTECTED]> wrote: > > Just a quick question. When is

RE: Session variables

2006-12-13 Thread Dave Watts
> Just a quick question. When is it necessary to pass the > session information for a user in the URL as that user > navigates a site? If I remember correctly, some of this > depends on whether cookies are enabled on the browser and > whether J2EE session variables are enabled. Can anyone gi

Re: Session variables problem

2006-09-25 Thread Richard White
i have taken the application.cfc out of the default folder and put it into the parent directory but now all of my pages are coming up blank. unless it is in the _mmServerScripts folder nothing works. is there a reason for this

Re: Session variables problem

2006-09-25 Thread Charlie Griefer
On 9/25/06, Ian Skinner <[EMAIL PROTECTED]> wrote: > (honestly, i'm new to Application.cfc, so i'm not sure if the including is a > generally accepted good practice...might be better to just move the > Application.cfc up one level so both directories can access it) > > Actually with Application.c

Re: Session variables problem

2006-09-25 Thread Richard White
thanks for everyones help, its made it very understandable! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year

Re: Session variables problem

2006-09-25 Thread Richard White
i see thanks for all your help :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthori

RE: Session variables problem

2006-09-25 Thread Ian Skinner
(honestly, i'm new to Application.cfc, so i'm not sure if the including is a generally accepted good practice...might be better to just move the Application.cfc up one level so both directories can access it) Actually with Application.cfc, extending the CFC is usually a better way, then trying

Re: Session variables problem

2006-09-25 Thread Teddy Payne
Well, you don't really use the cfapplication tag in application.cfc. You use the "this" scope before the first cffunction to set the application wide values. There is a good quick reference from Ray Camden on application.cfc that can help you choose to stay with application.cfm or use the applica

Re: Session variables problem

2006-09-25 Thread Charlie Griefer
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote: > >sounds like sessions aren't enabled. > > > >the 'action' page that errors out...it's within the same directory (or > >subdirectory) of the Application.cfc that's enabling the session > >management? > > > >On 9/25/06, Richard White <[EMAIL PROT

RE: Session variables problem

2006-09-25 Thread Ian Skinner
In an application.cfm or application.cfc file so that it is automatically included at the top of every page in the same directory and its sub-directories. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko |

Re: Session variables problem

2006-09-25 Thread Teddy Payne
tag is typically stored in the application.cfm file. Though if you are using CF MX, application.cfc is recommended more as it provides more features, organization and better event based code use. Teddy On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote: > > >sounds like sessions aren't enabled

Re: Session variables problem

2006-09-25 Thread Richard White
> >sounds like sessions aren't enabled. > > > >the 'action' page that errors out...it's within the same directory > (or > >subdirectory) of the Application.cfc that's enabling the session > >management? > > > >On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote: > > > > oh i see, i have just put

Re: Session variables problem

2006-09-25 Thread Teddy Payne
This sounds like the culprit. In order to use a certain session with a certain application name, the application.cfm or application.cfc needs to be ina parent folder or in the same folder. Example Assume foo.cfm is calling a session variable. \application.cfc \folder1\foo.cfm This would work.

Re: Session variables problem

2006-09-25 Thread Richard White
>sounds like sessions aren't enabled. > >the 'action' page that errors out...it's within the same directory (or >subdirectory) of the Application.cfc that's enabling the session >management? > >On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote: > oh i see, i have just put the tag at the top of

Re: Session variables problem

2006-09-25 Thread Richard White
>sounds like sessions aren't enabled. > >the 'action' page that errors out...it's within the same directory (or >subdirectory) of the Application.cfc that's enabling the session >management? > well in the root folder there is a default folder called _mmServerScripts, this is where the application

Re: Session variables problem

2006-09-25 Thread Teddy Payne
How are you calling the second page from the main page? cflocation? Teddy On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote: > > >what do you see if you do a ? > > if i do this in the action page it says variable session is undefined. > > i have actually changed it as you said in the main pag

RE: Session variables problem

2006-09-25 Thread Sandra Clark
http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Monday, September 25, 2006 3:46 PM To: CF-Talk Subject: Re: Session variables problem >what do you see if you do a ? if i do this in the act

Re: Session variables problem

2006-09-25 Thread Richard White
>Are session variables enabled from the CF administrator? > >Teddy > >On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote: >> thanks, yes they are enabled in the cf admin and in the cfapplication tag in the application.cfc ~| Int

Re: Session variables problem

2006-09-25 Thread Charlie Griefer
sounds like sessions aren't enabled. the 'action' page that errors out...it's within the same directory (or subdirectory) of the Application.cfc that's enabling the session management? On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote: > >what do you see if you do a ? > > if i do this in the a

Re: Session variables problem

2006-09-25 Thread Teddy Payne
Are session variables enabled from the CF administrator? Teddy On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote: > > >1) is session management enabled in a tag? > >2) that's some ugly naming conventions right there. too many > >variables with the same name. > >3) why not just create the stru

Re: Session variables problem

2006-09-25 Thread Richard White
>what do you see if you do a ? if i do this in the action page it says variable session is undefined. i have actually changed it as you said in the main page and created the structure straight in the session variable. I am the session.student.name fine in the main page but it is not working i

Re: Session variables problem

2006-09-25 Thread Richard White
>what do you see if you do a ? if i do this in the action page it says variable session is undefined. i have actually changed it as you said in the main page and created the structure straight in the session variable. I am the session.student.name fine in the main page but it is not working i

Re: Session variables problem

2006-09-25 Thread Charlie Griefer
what do you see if you do a ? On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote: > >1) is session management enabled in a tag? > >2) that's some ugly naming conventions right there. too many > >variables with the same name. > >3) why not just create the struct in the session? > > > > > >

Re: Session variables problem

2006-09-25 Thread Richard White
>1) is session management enabled in a tag? >2) that's some ugly naming conventions right there. too many >variables with the same name. >3) why not just create the struct in the session? > > > session.student = structNew(); > session.student.name = "Fred"; > lol, very goodpoint, thank y

Re: Session variables problem

2006-09-25 Thread Charlie Griefer
1) is session management enabled in a tag? 2) that's some ugly naming conventions right there. too many variables with the same name. 3) why not just create the struct in the session? session.student = structNew(); session.student.name = "Fred"; 4) if you do plan on copying a local

Re: Session Variables lost when moving from http to https - Please help!

2006-06-06 Thread Matt Robertson
> Is there a way to display the image without have to copy the image > directory to the "secure" folder? I you can get an https:// connection to the /content/images/ folder then you can do this without copying I would think. Use full urls in your image calls instead of relative. Set the value

Re: Session Variables lost when moving from http to https - Please help!

2006-06-06 Thread cf coder
Great! that worked. The file order.cfm has few tags as well. The images are stored in the "content/images" folder. I changed the src to the following: But the image was not displayed on the site because the folder "content/images" does not exist under the "secure" folder which the secure site

Re: Session Variables lost when moving from http to https - Please help!

2006-06-06 Thread Jim
Application.cfm in the root of the secure directory should be able to do this: cf coder wrote: > Thank you Matt for the detailed explaination. I went back to review the code > yesterday and here is what I found. > > The regular domain webroot is "C:\inetpub\wwwroot\web\content" folder. There

Re: Session Variables lost when moving from http to https - Please help!

2006-06-06 Thread cf coder
Thank you Matt for the detailed explaination. I went back to review the code yesterday and here is what I found. The regular domain webroot is "C:\inetpub\wwwroot\web\content" folder. There is an application.cfm file in this folder and a tag. When the site is opened in a browser the applicatio

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread Matt Robertson
>Just carry it over with the >urltoken var to be sure. Yikes. I wouldn't recommend that for security reasons. You shouldn't need to make the application name a variable under most circumstances. How often does something like that change? Best to hardcode it and make it something that isn't

RE: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread Phillip Holmes
http://phillipholmes.com -Original Message- From: cf coder [mailto:[EMAIL PROTECTED] Sent: Sunday, June 04, 2006 12:30 PM To: CF-Talk Subject: Re: Session Variables lost when moving from http to https - Please help! I added a cfdump tag to dump the server and application strucutre an

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread Matt Robertson
cf_coder wrote: > I added a cfdump tag to dump the server and application strucutre and > saw the server dump but got an error for outputting the application > dump I think if there's no application scope then that means you are running code without a cfapplication statement. That would mean,

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread Matt Robertson
ColdFusion wrote: >I thought the session variables are applied to the application >Which is mapped to the url of http://www.mysite.com > >Since https is a different protocol, I did not think you could in theory >share those variables. No thats not correct. The session variables are mapped to an

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
I added a cfdump tag to dump the server and application strucutre and saw the server dump but got an error for outputting the application dump: I'll have to contact the hosting provider to see what's going on. It is not making sense. I've probably got to undestand how the website is set up a

RE: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread Snake
-Original Message- From: cf coder [mailto:[EMAIL PROTECTED] Sent: 04 June 2006 15:24 To: CF-Talk Subject: Re: Session Variables lost when moving from http to https - Please help! Is there a ColdFusion I can use on the https site to return the server settings i.e webserver version

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread James Holmes
MAIL PROTECTED] > Sent: Sunday, June 04, 2006 9:40 AM > To: CF-Talk > Subject: Re: Session Variables lost when moving from http to https - Please > help! > > If the session isn't available on that form post URL, using the same > application name, something strange is going o

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
Is there a ColdFusion I can use on the https site to return the server settings i.e webserver version, application name, etc etc. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242312 Archives: http://www.houseoffus

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
Yes its definately the same physical server. I have no clue as to why the session, application, server, form, request scope variables are not available on the https domain. ~| Message: http://www.houseoffusion.com/lists.cfm/link

RE: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread Coldfusion
: CF-Talk Subject: Re: Session Variables lost when moving from http to https - Please help! If the session isn't available on that form post URL, using the same application name, something strange is going on. It's definitely the same physical server? On 6/4/06, cf coder <[EMAIL PROT

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread James Holmes
If the session isn't available on that form post URL, using the same application name, something strange is going on. It's definitely the same physical server? On 6/4/06, cf coder <[EMAIL PROTECTED]> wrote: > On viewbasket.cfm (wwwroot\order\viewbasket.cfm) I added the following code: > > action=

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
On viewbasket.cfm (wwwroot\order\viewbasket.cfm) I added the following code: https://securesite/proceedToSecuresite.cfm?#session.URLToken#"; method="post"> I didn't include it in every single page. I thought I'll first test if this works. ~~~

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread James Holmes
Did you pass the token in every URL on the secure site? On 6/4/06, cf coder <[EMAIL PROTECTED]> wrote: > I tried that. I passed #session.URLToken# in the url query string but I still > got an error when I tried to dump the session scope variable, var="#session#"> > > Any ideas? > > PS: The main

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
I tried that. I passed #session.URLToken# in the url query string but I still got an error when I tried to dump the session scope variable, Any ideas? PS: The main site domain and the secure site doamin names are not the same although the codebase is the same. wwwroot\order\viewbasket.cfm (ht

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread James Holmes
No, you pass the SESSION.URLTOKEN in the URL, not the data. As long as you are staying on the same machine, the session will then persist across domains. On 6/4/06, cf coder <[EMAIL PROTECTED]> wrote: > Hello Will, I am storing query objects in request and session variables. I > can't send this i

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
Josh, its not just the request scope variables that are undefined, I tried dumping the application and session scope variables but got the same undefined error message. -cfcoder ~| Message: http://www.houseoffusion.com/lists.cf

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
Hello Will, I am storing query objects in request and session variables. I can't send this info over the url query. The https link links to a different domain because my site is hosted by a company that provides the access to shared secure server. I understand the point made by someone earlier

Re: Session Variables lost when moving from http to https - Please help!

2006-06-02 Thread Will Tomlinson
> You can fudge a fix by sending the key pair over in the url query > string on the link that crosses from non secure to secure. You'll > need to do the same thing on the way back when they cross back over to > normal from secure. > > This is what I do and it works well. Will ~

Re: Session Variables lost when moving from http to https - Please help!

2006-06-02 Thread cf coder
thank you all for your help and advise. I'll take a butchers at it tomorrow as it is pretty late in the night here in the UK. Cheers, cfcoder ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242175 Archives: http://www

Re: Session Variables lost when moving from http to https - Please help!

2006-06-02 Thread Josh Nathanson
request scope. You'll probably want to store your cart variables in the session scope rather than request scope, or better yet in a tempBasket table. -- Josh - Original Message - From: "Sandra Clark" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Frid

RE: Session Variables lost when moving from http to https - Please help!

2006-06-02 Thread Russ
Friday, June 02, 2006 6:35 PM > To: CF-Talk > Subject: RE: Session Variables lost when moving from http to https - > Please help! > > You go into a different session from http to https. Best solution is > store > the information in a temporary table in the database, send the id

Re: Session Variables lost when moving from http to https - Please help!

2006-06-02 Thread cf coder
Thanks for your reply Sandra... is this the only solution? I thought there must be a way to pass the variables to the https site. I have atleast 20 session and application varibables. Are you suggesting I store this information in a temp table in the database in for ex wddx format and retreive i

Re: Session Variables lost when moving from http to https - Please help!

2006-06-02 Thread Matt Robertson
if your regular domain is http://normal.mydomain.com and your secure domain is http://secure.mydomain.com Then those are two different domains hence two different sessions. I personally have never had any luck with the setdomaincookies option in cfapplication, which I believe is supposed t

RE: Session Variables lost when moving from http to https - Please help!

2006-06-02 Thread Sandra Clark
You go into a different session from http to https. Best solution is store the information in a temporary table in the database, send the id over the url and then retrieve from the database on the other side. Sandra Clark == http://www.shayna.com Training in Cascadin

Re: Session Variables lost when moving from http to https - Please help!

2006-06-02 Thread Jordan Michaels
cf coder wrote: > Hello Everybody, > > I need your help solving this problem. Any help will be much appreciated. I > am working on a a shopping cart page that stores the items ordered in a > request scope variable. The usual stuff i.e you add an item to a basket and > view your basket where yo

  1   2   3   4   >