RE: J2EE session variables

2007-02-12 Thread Ben Forta
They also, by default, do not persist on the client and will end when the browser closes. --- Ben -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Monday, February 12, 2007 2:14 PM To: CF-Talk Subject: J2EE session variables Hey all.. Can somone post a quick

.NET getting CF session variables

2007-01-24 Thread Richard Colman
I create session variables on user login within CF. Is there some reasonable way to a .NET application to pick up and use those session variables? Rick Colman ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7

Re: .NET getting CF session variables

2007-01-24 Thread James Holmes
Well, Bluedragon.NET would no doubt do it, but in CF you'd probably have to use some sort of webservice or other integration. On 1/25/07, Richard Colman [EMAIL PROTECTED] wrote: I create session variables on user login within CF. Is there some reasonable way to a .NET application to pick up

Re: .NET getting CF session variables

2007-01-24 Thread Robertson-Ravo, Neil (RX)
getting CF session variables Well, Bluedragon.NET would no doubt do it, but in CF you'd probably have to use some sort of webservice or other integration. On 1/25/07, Richard Colman [EMAIL PROTECTED] wrote: I create session variables on user login within CF. Is there some reasonable way to a .NET

Re: .NET getting CF session variables

2007-01-24 Thread Doug Bezona
- From: James Holmes To: CF-Talk Sent: Wed Jan 24 23:59:34 2007 Subject: Re: .NET getting CF session variables Well, Bluedragon.NET would no doubt do it, but in CF you'd probably have to use some sort of webservice or other integration. On 1/25/07, Richard Colman [EMAIL PROTECTED] wrote: I

CFMX 6.1 Session Variables and Stored Data Question

2007-01-16 Thread John Sterrett
Hello everyone I am new to the house of fusion and look forward to communicating with everyone. I am using coldfusion MX 6.1 and have noticed several references in many articles that puzzle my mind. The first one includes that session variables are referred as shared data. The second one

RE: CFMX 6.1 Session Variables and Stored Data Question

2007-01-16 Thread Dave Watts
Hello everyone I am new to the house of fusion and look forward to communicating with everyone. I am using coldfusion MX 6.1 and have noticed several references in many articles that puzzle my mind. The first one includes that session variables are referred as shared data. The second

Re: Session variables

2006-12-14 Thread James Holmes
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 give me a quick primer on this or point

Session variables

2006-12-13 Thread Steve Milburn
Hi all, 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

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 give

very off referencing of session variables

2006-11-01 Thread Richard White
hi, i am trying to reference session variables in javascript and cant work out why i am getting an error: the code i am getting an error on is: for(i=1; i=cfoutput#structcount(session.milestone)#/cfoutput;i++) { alert(cfoutput#session.milestone[i].name#/cfoutput); } the milestone array

Re: very off referencing of session variables

2006-11-01 Thread Charlie Griefer
cfoutput#structcount(session.milestone)#/cfoutput drop the quotes. On 11/1/06, Richard White [EMAIL PROTECTED] wrote: hi, i am trying to reference session variables in javascript and cant work out why i am getting an error: the code i am getting an error on is: for(i=1; i=cfoutput

RE: very off referencing of session variables

2006-11-01 Thread Dave Watts
the code i am getting an error on is: for(i=1; i=cfoutput#structcount(session.milestone)#/cfoutput;i++) You're telling JavaScript that it's a string, with those double quotes. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber

RE: very off referencing of session variables

2006-11-01 Thread Brad Wood
on the server side with a Cold Fusion loop, or create a JavaScript array and then loop over that. ~Brad -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 4:06 PM To: CF-Talk Subject: very off referencing of session variables hi, i am

Re: very off referencing of session variables

2006-11-01 Thread Richard White
You're telling JavaScript that it's a string, with those double quotes. thanks dave but even if i take them away it still says the same error :( ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,

Re: very off referencing of session variables

2006-11-01 Thread Richard White
thanks for the replies if i take the quotes away when using the array it doesnt work: alert(cfoutput#session.milestone[1].name#/cfoutput); this doesnt work but if i put the quotes it does: alert(cfoutput#session.milestone[1].name#/cfoutput); even if i try it both ways with the i for the index

Re: very off referencing of session variables

2006-11-01 Thread Richard White
thanks brad that makes alot of sense actually. so just to make sure that i have it right, you can access a normal variable such as session.name but not an array such as the one that i specified above session.module[index] thanks very much

Re: very off referencing of session variables

2006-11-01 Thread Charlie Griefer
alert(string); alert(number); alert(boolean); that's why it works with the alert. strings in an alert need to be in quotes. other values such as numerics or booleans do not. can you do me a favor and view the source of your page and copy/paste the rendered JavaScript? or if possible give a

Re: very off referencing of session variables

2006-11-01 Thread Richard White
do you maybe have a simple example or suggesstion on how i can create an array or something that javascript can access. The only thing is the control i am using too populate with the data from the array in the session variable must be done in javascript. i could use a cfloop on the server but

Re: very off referencing of session variables

2006-11-01 Thread Charlie Griefer
as far as i can tell, your code is fine (as far as mixing CF and JS). you're not using JS to try and manipulate the CF variables, so i there shouldn't be any issues there. On 11/1/06, Richard White [EMAIL PROTECTED] wrote: thanks brad that makes alot of sense actually. so just to make sure

Re: very off referencing of session variables

2006-11-01 Thread Charlie Griefer
Oops. My bad. Brad was spot-on (sorry Brad). Here's a snippet taking a CF array and converting it to a JS array, which can then be looped over by the JS. cfset myArray = arrayNew(1) / cfset myArray[1] = Tom / cfset myArray[2] = Dick / cfset myArray[3] = Harry / cfoutput script

Re: very off referencing of session variables

2006-11-01 Thread Richard White
thanks charlie if i view the page source it stops when getting to that stage as says for(i=1; i=4;i++) { alert( the code i am using to get that is: for(i=1; i=cfoutput#structcount(session.milestone)#/cfoutput;i++) { alert(cfoutput#session.milestone[i].name#/cfoutput); }

Re: very off referencing of session variables

2006-11-01 Thread Richard White
strangely enough if i use a different variable such as index then it says that variable index is undefined even if i decalre it above it with var index = 1; and then use it within the loop ~| Introducing the Fusion Authority

Re: very off referencing of session variables

2006-11-01 Thread Richard White
thanks charlie, really appreciate it, i have been tearing my hair out over this for hours :) thanks brad and charlie ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion

Re: very off referencing of session variables

2006-11-01 Thread Richard White
works perfect thanks :) ~| 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: Mone on missing session variables. XmlHTTP involved ...

2006-10-19 Thread Dan G. Switzer, II
Walter, The following code works correctly if call directly, but if it is called remotely (XMLHTTP, Spry) the two values are passed ok but the session.variables are nowhere else to be seen after refreshing the page. Use the urlSessionFormat() function on the url you're calling via XMLHTTP/Spry:

Mone on missing session variables. XmlHTTP involved ...

2006-10-18 Thread Walter Conti
session variables in other pages are set and retained as expected. Just in case my cfapplication is: cfapplication name=#prefix#_blog_#blogname# clientManagement = no setClientCookies = no setDomainCookies = no loginStorage = session sessionManagement = yes sessionTimeout = #CreateTimeSpan

Re: Coldfusion session variables and Flex 2

2006-10-16 Thread Rick Root
Qasim Rasheed wrote: Rick, Here is a blog post from Ben Forta on a similar topic. http://www.forta.com/blog/index.cfm/2006/9/24/Flex-And-Session-State-Management Thanks. However, it doesn't really apply. Ben says: So, the answer to the question how do I maintain session

Re: Coldfusion session variables and Flex 2

2006-10-16 Thread Douglas Knudsen
I've done this seemed to work fine for me. The Flex SWF is in the same HTTP container as your cfms so it should be fine. DK On 10/16/06, Rick Root [EMAIL PROTECTED] wrote: Qasim Rasheed wrote: Rick, Here is a blog post from Ben Forta on a similar topic.

Dynamically creating and assigning session variables

2006-10-16 Thread Dave Hoff
I'm sure this isn't best practice, but I'm working with the menu event gateway example that ships with CF7 and I'm trying to generate the menu from a database replacing the hard-coded menu that is there. The menu is stored in a session variable and I need to dynamically assign the session name

Re: Dynamically creating and assigning session variables

2006-10-16 Thread Rob Wilkerson
On 10/16/06, Dave Hoff [EMAIL PROTECTED] wrote: I'm sure this isn't best practice, but I'm working with the menu event gateway example that ships with CF7 and I'm trying to generate the menu from a database replacing the hard-coded menu that is there. The menu is stored in a session

Re: Dynamically creating and assigning session variables

2006-10-16 Thread Dave Hoff
Thanks Rob. I'll try and paste the entire code below. for(i=1; i LTE getTopLevel.recordset.recordcount; i=i+1) { tempName = getTopLevel.recordset.name[i]; tempCFC = gateway.imified.apps. getTopLevel.recordset.cfc_name[i]; tempMethod =

Re: Dynamically creating and assigning session variables

2006-10-16 Thread Dave Hoff
Updated: Fixed!! Thanks Rob, assigning the vars using: session['M' i] did the trick. I'm sure this isn't best practice, but I'm working with the menu event gateway example that ships with CF7 and I'm trying to generate the menu from a database replacing the hard-coded menu that is there.

Re: Dynamically creating and assigning session variables

2006-10-16 Thread Rob Wilkerson
On 10/16/06, Dave Hoff [EMAIL PROTECTED] wrote: Thanks Rob. I'll try and paste the entire code below. for(i=1; i LTE getTopLevel.recordset.recordcount; i=i+1) { tempName = getTopLevel.recordset.name[i]; tempCFC = gateway.imified.apps.

Re: Dynamically creating and assigning session variables

2006-10-16 Thread Teddy Payne
You have session.root.addChild. I take it that there is a CFC named root.cfc in your session scope with the method of addChild? If this is so and you are using cfscript, why not just call the method? session.root.addChild(name=#tempName#, key=#i#); You don't have to prefix a temporary variable

Re: Coldfusion session variables and Flex 2

2006-10-16 Thread Rick Root
Douglas Knudsen wrote: I've done this seemed to work fine for me. The Flex SWF is in the same HTTP container as your cfms so it should be fine. Hmm... I've figured out *WHY* I'm having trouble. my application is in /tools/entitylookup3/ At one time, I had that directory configured to use a

Re: Coldfusion session variables and Flex 2

2006-10-15 Thread Qasim Rasheed
generated HTML. I'd like to use session variables for a few things, but I'm finding that session variables which are available on the Coldfusion pages are *NOT* available in Flex remoting calls. I have some code in my CFC that emails the session scope to me, and the content

Re: Coldfusion session variables and Flex 2

2006-10-14 Thread Rick Root
Ping Rick Root wrote: I have a hybrid application that uses both Flex and coldfusion generated HTML. I'd like to use session variables for a few things, but I'm finding that session variables which are available on the Coldfusion pages are *NOT* available in Flex remoting calls

Coldfusion session variables and Flex 2

2006-10-13 Thread Rick Root
I have a hybrid application that uses both Flex and coldfusion generated HTML. I'd like to use session variables for a few things, but I'm finding that session variables which are available on the Coldfusion pages are *NOT* available in Flex remoting calls. I have some code in my CFC

using cookies within cfapplication with session variables

2006-10-11 Thread Kaneshige, Mark M [NTK]
I have a CF application that has session variables active. What I need to do is to create a link to a web file on another server and pass a customized cookie to it (i.e. cookie.shortname). However, when I try to do this, the server only picks up the standard cookies (CFID and CFTOKEN

RE: using cookies within cfapplication with session variables

2006-10-11 Thread Dave Watts
I have a CF application that has session variables active. What I need to do is to create a link to a web file on another server and pass a customized cookie to it (i.e. cookie.shortname). However, when I try to do this, the server only picks up the standard cookies (CFID and CFTOKEN

Re: using cookies within cfapplication with session variables

2006-10-11 Thread Tom Chiverton
On Wednesday 11 October 2006 16:05, Kaneshige, Mark M [NTK] wrote: I have a CF application that has session variables active. What I need to do is to create a link to a web file on another server and pass a customized cookie to it (i.e. cookie.shortname). Cookies *shouldn't* pass across

j2ee session variables

2006-09-26 Thread Richard White
hi, i have been trying to use session variables in my app. I have enabled the session variables in the cf admin, and in the application.cfc. However when i try to run my app it says session is invalid. The session doesnt even start. I get this error everytime unless i turn off the j2ee session

Re: j2ee session variables

2006-09-26 Thread James Holmes
Clear your browser's cookies and restart the browser (with J2EE sessions turned on at the server). Also, is the CF server patched to current levels? On 9/26/06, Richard White [EMAIL PROTECTED] wrote: hi, i have been trying to use session variables in my app. I have enabled the session

Re: j2ee session variables

2006-09-26 Thread Richard White
thanks james, i cleared my cookies, enabled j2ee session variables in the cf admin, restarted the browser and it is now working fine. thanks again :) i have been on that problem for ages. out of interest why would it have stored a cookie that makes it say that the session is invalid. i never

Session variables problem

2006-09-25 Thread Richard White
I am having trouble with the session variables. I know there must be a simple solution but this is the first time i have used them and not sure what i am doing wrong. I am trying to assign a structure to the session variable in one page and then use that session structure in the forms action

Re: Session variables problem

2006-09-25 Thread Charlie Griefer
); /cfscript On 9/25/06, Richard White [EMAIL PROTECTED] wrote: I am having trouble with the session variables. I know there must be a simple solution but this is the first time i have used them and not sure what i am doing wrong. I am trying to assign a structure to the session variable

Re: Session variables problem

2006-09-25 Thread Richard White
, very goodpoint, thank you, i will change that. yes i have enabled the session variables in the cf admin and the application.cfc but still not recognising even if i try the following in the action page: cfoutput#session.student.name#/cfoutput it still says session is undefined thanks

Re: Session variables problem

2006-09-25 Thread Charlie Griefer
in the session? cfscript session.student = structNew(); session.student.name = Fred; /cfscript lol, very goodpoint, thank you, i will change that. yes i have enabled the session variables in the cf admin and the application.cfc but still not recognising even if i try the following

Re: Session variables problem

2006-09-25 Thread Richard White
what do you see if you do a cfdump var=#session# ? 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

Re: Session variables problem

2006-09-25 Thread Richard White
what do you see if you do a cfdump var=#session# ? 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

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 cfapplication tag? 2) that's some ugly naming conventions right there. too many variables with the same name. 3) why not just create

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 cfdump var=#session# ? if i

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 ~| Introducing

RE: Session variables problem

2006-09-25 Thread Sandra Clark
://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 cfdump var=#session# ? if i do

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 cfdump var=#session# ? if i do this in the action page it says variable session is undefined. i have actually changed it as you said in

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.cfc

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 cfapplication tag at the top

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 cfapplication

Re: Session variables problem

2006-09-25 Thread Teddy Payne
cfapplication 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

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 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 PROTECTED] wrote:

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

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 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.

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

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.cfc,

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

Losing Session Variables When Running A Crystal Report from Coldfusion 4.5

2006-09-11 Thread Mary Fowler
success with this conversion process with the exception that 'some' of the reports, after having ran and one has returned back to the application via the back button, all the session variables are gone. This only happens when running some of the reports. My question is why does this happen

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

2006-06-06 Thread cf coder
the application/session variables are set, ex: http://www.testsite.com/index.cfm The view basket cfm page is in the content folder (C:\inetpub\wwwroot\web\content) under the webroot. The template that gets called when the user hits a href=https://www.secureweb.co.uk/testsite/order.cfm?CFID

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

2006-06-06 Thread Jim
:\inetpub\wwwroot\web\content folder. There is an application.cfm file in this folder and a cfapplication tag. When the site is opened in a browser the application/session variables are set, ex: http://www.testsite.com/index.cfm The view basket cfm page is in the content folder (C:\inetpub

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 of

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-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:

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 info

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, cfdump var=#session# Any ideas? PS: The main site domain and the secure site doamin names are not the same although the codebase is the same.

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, cfdump 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
On viewbasket.cfm (wwwroot\order\viewbasket.cfm) I added the following code: tdform action=https://securesite/proceedToSecuresite.cfm?#session.URLToken#; method=postinput type=Image src=proceed.gif border=0/form/td I didn't include it in every single page. I thought I'll first test if this

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: tdform

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

2006-06-04 Thread Coldfusion
Correct me if I am wrong but 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. What I did was shared the DSN and such. Passed a URL

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:

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:

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

2006-06-04 Thread James Holmes
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. What I did was shared the DSN and such. Passed a URL variable to the secured site

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

2006-06-04 Thread Snake
cfdump var=#server# -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

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: cfdump var=#server# cfdump var=#application# cfabort I'll have to contact the hosting provider to see what's going on. It is not making sense. I've

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

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 Phillip Holmes
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 and saw the server dump but got an error for outputting the application dump: cfdump var

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

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

2006-06-02 Thread cf coder
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 you check the total price and

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

2006-06-02 Thread Russ
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 over the url and then retrieve from the database on the other

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

2006-06-02 Thread Josh Nathanson
Hmmm...I have an application where I set the session variables in http and then cflocation over to https and it works fine, as long as the domain is the same, http://www.yourdomain.com and https://www.yourdomain.com. I think the problem may lie elsewhere -- make sure your application has

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:

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

Session Variables

2006-05-24 Thread [EMAIL PROTECTED]
How do I set up a session variable and then reccall it? I.e. I want to store 4 things in session variables. Player, Position, Email and Username. How would I write a statement for... 1) Put these values in a session that closes in (let's say, an hour). 2) Recall the session variable (I assume

RE: Session Variables

2006-05-24 Thread Ian Skinner
be at the top of every page that will use these session variables. Most CF developers would put it into an Application.cfm or Application.cfc file for this reason. --- cfapplication name=ASessionApp sessionmanagement=yes sessiontimeout=#createTimeSpan(0,1,0,0)#!--- The createTimeSpan() function

Re: Session Variables

2006-05-24 Thread Matt Williams
cfset session.Player = Foo cfoutput#session.Player#/cfoutput The timeout is controlled either by the CF Administrator or the Application.cfm / .cfc file. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241387

Re: Session Variables

2006-05-24 Thread Mike Kear
of #session.username#. You can email at a href=mailto:#session.email#;#session.email#/a IF you want to see what's in the session variables at any moment, you can do a dump like this: cfdump var=#session# / and you'll see what variables are set at that moment, and what their valuels are. There is one other

Re: Session Variables

2006-05-24 Thread [EMAIL PROTECTED]
Thanks. :) This helps. I'm using CF7. What happens if I don't lock a session variable? Original Message: - From: Mike Kear [EMAIL PROTECTED] Date: Thu, 25 May 2006 10:04:35 +1000 To: cf-talk@houseoffusion.com Subject: Re: Session Variables To set your variables, you'd do

<    1   2   3   4   5   6   7   8   9   10   >