Web News

India-Italy business incubation centre to come up...
Following the visit of a 35-member industrial delegation from Italy, which toured the state Technopark campus here Monday, discussions have begun to set up a business incubation centre between the Technopark Technopark and Italian companies. Speaking to...

IT majors dominate growing cash mountain
In the present high boom in the economy and growing outsourcing opportunities, the top five Indian information technology players – Tata Consultancy Services, Infosys Technologies, Wipro, Satyam Computer Services and HCL Technologies – have piled up net cash in excess...

The PlayStation 3 Comes to India!
Sony India yesterday announced the launch of the PS3 in the country. This Gen-Next gaming console will allow consumers play games, watch movies/videos, listen to music, and share photos in high definition quality. Said to be 40 times faster than its predecessor, the PS2...


04.30.07


Dealing W/ Cookie-less Sessions

By Raymond Camden

Axel asked a question about Vista Gadgets that I thought I would discuss here.

Sessions with MS Vista. I'm building a VISTA gadget calling an external CFM page using flash forms. It looks really cool, in particular in a flyout window.

Now when I need to log into the app, I realized that the VISTA Gadget space seem not to have any session handler. Any idea?

The first thing you need to do is uninstall Vista. (No, I jest.) So with knowing nothing about Vista Gadgets (frankly widgets and gadgets bore me) I'd have to assume that they are acting like a cookie-less browser.

ColdFusion sessions require cookies in order to track your browser and associate it with a session... normally.

If your browser doesn't support cookies, you have two ways you can handle it.

All sessions come with a few default variables.

One of them is URLToken. This is a string of the form cfid=XXX&cftoken=XXX (or cfid=xxx&cftoken=xxx&jsessionid=xxx). As you can see, it is in a format appropriate for query strings.

Try a Better Way Today.
Try WebEx MeetMeNow -
Click Here

This allows you to append it to the end of a link:



The important thing to note though is that all links have to use one of these methods.

That means both "simple" links like I used above as well as form tags.

It would also include AJAX links if the back end needs session information in order to return the correct data.

Comments

About the Author: Raymond Camden, ray@camdenfamily.com
http://ray.camdenfamily.com

Raymond Camden is Vice President of Technology for roundpeg, Inc. A long time ColdFusion user, Raymond has worked on numerous ColdFusion books and is the creator of many of the most popular ColdFusion community web sites. He is an Adobe Community Expert, user group manager, and the proud father of three little bundles of joy.

About DevWebPro India
DevWebPro India is for professional developers ... those who build and manage applications and sophisticated websites. DevWebPro India delivers via news and expert advice New Strategies In Development.

DevWebPro India is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com NetworkNewz.com


-- DevWebPro India is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2007 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


New Strategies In Development DevWebPro India News Archives About Us Feedback DevWebPro India Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact