Trouble with Session Management

I am trying to assess how many people I lose on my site
because they dont have cookies enabled. when I disable cookies in a
browser and <cfoutput> a urltoken, it prints out a new value
every time I refresh the page, as expected. But when I try to log
the CFID when people come to my home page so that I may pass it
around through the site, I get some "element CFID undefined in
session" errors

thanks for the help. I thought Id tell you more about what I
am doing and see if you have comments - we use google to market our
company so clicks are costing us big bucks. currently, our sites
rely on session management to operate, so I realize that folks
having cookies off is really hurting us. All the references I can
find tote passing the session.URLToken around the site to make it
cookie independent. I havent done this yet, first im trying to get
a handle on how many people have cookies off (like you are), and
where people are coming from to see if we are having click fraud
(which we are very suspicious of).
Is this what you would do (passing the URLToken around)? Any
other comments you have would be very much appreciated.

Similar Messages

  • Is it possible to use run-time configuration in conjunction with Session Manager?

    I'm trying to avoid using MAX, basically because it's a pain for users to configure MAX when the application already knows what the configuration is. I actually get the configuration from a database, but that's another story. I've experimented with run-time configuration (see page 4-31 of the 'IVI Driver Toolset' manual) and it works fine. However, when I try to use this in conjunction with Session Manager, session manager complains that my logical name is not a driver session name. I suspect that Session Manager is looking up logical names from a different source, therefore run-time configuration won't work. Any suggestions? I've attached the files I'm working with.
    Attachments:
    SessionMgrTrial.zip ‏41 KB

    Hello Mark:
    The Session Manager GetLogicalNames method does not distiguish between logical names and virtual instrument names. A user of the method cannot ask for just logical names or just virtual instrument names. Right now you always get both. The new function is called InstrSessionMgr.GetNames. Notice that the online help file says Boolean for the flags parameter when it is an enum.
    Hope this helps. If you have any further queries, please let us know.
    -NI support
    National Instruments - Software IS the instrument!
    Attachments:
    help.gif ‏22 KB

  • I have a problem with session manager session files because of the invalid json storage data submited by firefox

    Hi, i have problem with session manager's session files. The problem is: the submitted storage data from firefox which is put between "storage":{ and its matching closing brace } But in some of my session files there is non equal { and } under storage's braces. I need to get storage data but in my case it is very hard to do. My question is there any char put before or after { and } like /{ or \{ to avoid confusion? If there is not such thing, i think there could be different solution but i am not sure: i look couple of my session files; after "storage":{...} there is ,_"formDataSaved" so i can get storage data in this example ... by looking between "storage":{ and ,"_formDataSaved" easily. Is there every time ,"_formDataSaved" after "storage":{ ?  Thank you.

    Well, it seems waiting is not my strong suit..! I renamed a javascript file called recovery to sessionstore. This file was in the folder sessionstore-backups I had copied from mozilla 3 days ago, when my tabs were still in place. I replaced the sessionstore in mozilla's default folder with the renamed file and then started mozilla. And the tabs reappeared as they were 3 days ago!
    So there goes the tab problem. But again when I started mozilla the window saying "a script has stopped responding" appeared, this time the script being: chrome//browser/contenttabbrowser.xml2542
    If someone knows how to fix this and make firefox launch normally, please reply! Thank you

  • What is new with MAX 2.0 and is it compatible with Session Manager?

    We added non-IVI instrument information in, basically the same structure as for IVI instruments,
    into the ivi.ini file to keep all instrument information in the same place. Using MAX Version 1.1 caused no problems whatsoever and the system worked fine. With the advent of MAX 2.0 you seem to use ivi.ini as well as config.mxs to store instrument information. What we have found now is that given a working ivi.ini file from MAX 1.1, we end up with 2 or 3 copies of all the devices in the IVI Instruments->Devices section! When the duplicate entries are deleted and the application exited, the
    ivi.ini file is updated minus the [Hardware->] sections which contain the resource descriptors that our appl
    ications look for. As an added complication, under MAX 2.1 (From an evaluation of the Switch Executive) It behaves the same, except that it almost always crashes with one of the following errors. 'OLEChannelWnd Fatal Error', or 'Error#26 window.cpp line 10028 Labview Version 6.0.2' Once opened and closed MAX 2.1 will not open again! (Note we do not have LabVIEW on the system.) What is the relationship between the config.mxs and ivi.ini now? Also, your Session Manager application (for use with TestStand) extracts information from ivi.ini and may expect entries to be manually entered into ivi.ini (e.g. NISessionManager_Reset = True) i.e. Is the TestStand Session Manager compatible with MAX 2.0?

    Brian,
    The primary difference between MAX 1.1 and 2.x is that there is a new internal architecture. MAX 2.x synchronizes data between the config.mxs and the ivi.ini. The reason you're having trouble is that user-editing of the ivi.ini file is not supported with MAX 2.x.
    Some better solutions to accomplish what you want:
    1. Do as Mark Ireton suggested in his answer
    2. Use the IVI Run-Time Configuration functions. They will allow you to dynamically configure your Logical Names, Virtual Instruments, Instrument Drivers, and Devices. You can then use your own format for storing and retrieving that information, and use the relevant pieces for each execution. You can find information on these functions in the IVI CVI Help file located in Start >> National I
    nstruments >> IVI Driver Toolset folder. Go to the chapter on Run-time Initialization Configuration.
    I strongly suggest #2, because those functions will continue to be supported in the future, while other mechanisms may not be.
    --Bankim
    Bankim Tejani
    National Instruments

  • Trouble with session variables

    Hello, I am a user of cf for a number of years, but only
    lately as of last week have I had the opportunity to work with CF
    8.... wow the changes are quite intimidating. But none the less
    press on is my thought, so now my trouble. Thing I did was to start
    using application.cfc vs application.cfm, as it would appear that
    is how things have come to pass. So I looked around and found this
    code to set session management:
    <cfcomponent output="false" hint="Handles application
    level events.">
    <!--- Set up the application. --->
    <cfset THIS.Name = "AppCFC" />
    <cfset THIS.ApplicationTimeout = CreateTimeSpan( 0, 0, 60,
    0 ) />
    <cfset THIS.SessionManagement = true />
    <cfset THIS.SetClientCookies = false />
    <CFSET request.dsn = "wlaw" />
    </cfcomponent>
    My problem is that while I can define a session variable on a
    page that is not under the SSL cert, my session vars become
    undefined once I land on a page under SSL.
    Am I missing something? I dont recall this being a problem in
    the past. All help is appreciated.
    as to setting the var, it is done on an index page which
    calls another page in a different directory, but under the same
    server,.
    <cfset session.ref="foo">
    the only changes are that the result page or action page if
    you prefer is now under the ssl and the var becomes undefined.
    thank you in advance
    Mike Dooly

    is the object being put in session context serializable.. Also in
              other to avoid any generated classes issues delete all the classes
              whcih weblogic generates as part of deploying the application. That
              should atleast mitigate one explanation for your problem.
              Hope this helps
              ~a
              [email protected] (Gabriel Ornelas De Luna) wrote in message news:<[email protected]>...
              > Hello everyone,
              > I'm currently working with WL 6.1 and I'm having trouble with the
              > persistence of some session variables which are initially created
              > correctly on the server side, and they get lost (null) once the Web
              > clients need to access its value.
              > This is the error which is being written on a log file:
              >
              > <May 13, 2003 3:05:09 PM EDT> <Error> <HTTP Session> <Could not
              > deserialize session data
              > java.io.NotSerializableException:
              >
              > Things were woriking perfectly, but suddenly after bouncing the server
              > instance several times, in order to pick up the latest changes in my
              > classes, I started to get this error once the server tries to load the
              > jsp.
              >
              > JSP Code:
              > <%
              > Integer businessID = (Integer) session.getAttribute("business_id" );
              > Util.isCapitolBusiness(businessID.intValue())
              > %>
              >
              > I appreciate your help.
              > Regards.
              > g.
              

  • Plugin based Web Service with session management

    I am trying to make a web service in java with jax-ws that should support extensions to the service without rebuilding the project. I thought it might be possible to make a standard web service and the let each plugin create their own service, making the client side plugin point to both the standard service and the plugin specific one. This way I could have user management and such in the standard service and the more plugin specific one in an other service. The problem is though, how do I make a common session for all the services? All services are running at the same server and on the same domain name.
    I checked the HTTP headers and found out that the JSESSIONID was changing when I created a new port on the client side. I was trying to implement a SOAPHandler to edit the cookie in the HTTP header, hoping that this will lead to the same session across the services. But found it hard. It was no problem reading the "Set-cookie" header, setting the cookie on the new requests was harder, as the CookieJar object seems to be internal [1]. And the MessageContext.HTTP_REQUEST_HEADERS wasn't created at the time my handlers run. Is there an easy solution to this?
    I am not sure if my idea is a good solution to the main problem, and all other ideas are more than welcome. I hope it is possible to extend the features of my server without rebuilding the project. If anything is unclear, feel free to ask :)
    [1] com.sun.xml.internal.ws.client.http.CookieJar

    Adhir_Mehta wrote:
    Could you explain plug in scenario with one example?Ok. We have not chosen exactly how to do this, but the idea is that someone may be able to extend the functionality of our server without rebuilding the project. We thought of something like a jar file with a implementation of some abstract classes. It should at least only be necessary to redeploy the project into the web container. The problem is; how do we let the plugins extend our web interface? One solution we thought of was to let each plugin have it's own service and dynamicly link to the plugin services from the main service that we provide as standard in our server. This way we may have some kind of plugin support on the clients as well, making the client side plugins know what kind of service it needs on the server side and thus extending the functionality all together.
    Hope that explains our scenario. Feel free to comment and add new ideas :)
    Regarding session management, its not advisable to manage the session in web services since that way it will become non interoperable.The documentation we found regarding sessions and jax-ws was all doing sessions with HTTPSessions, and to let the web container handle that.
    On the server side
        @Resource
        private WebServiceContext wsContext;
        private HttpSession getSession() {
            MessageContext mc = wsContext.getMessageContext();
            return ((javax.servlet.http.HttpServletRequest)mc.get(MessageContext.SERVLET_REQUEST)).getSession();
        HttpSession session = getSession();
        session.setAttribute("User", user);On the client side
    ((BindingProvider)port).getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY,true);Do you have other standard options for us on how to do session management? All ideas are more than welcome

  • Trouble with session handle???

    Hi everybody, its me again... i solve part of my problem but now i have another problem thats bothers me....my scenario is the follow: i have an app running in a portal, then i have a link in the portal who bring me a pop up of the active page of that app, that is shown on the portal in that moment. when i call the pop up, some class attributes change its values for do something, when i close the pop up, those class attribute refresh and take its initial values (values necessary to run correctly in the portal) BUT, when i minimize the window (no close it) and start to manipulate the app in the portal (the app is statefull), the values stay the same as if i was operating the app in the pop up and obvious do something that it should'nt do. My question is: there is some way...may be with session handler like sap-sessioncmd (i test it but it doesnt work), that help me to manage diferent session for the pop up and the app running in the portal...or may be some parameter (that is pass it via url) that help me to create another object of the class when i calls the pop up

    thanks for the help. I thought Id tell you more about what I
    am doing and see if you have comments - we use google to market our
    company so clicks are costing us big bucks. currently, our sites
    rely on session management to operate, so I realize that folks
    having cookies off is really hurting us. All the references I can
    find tote passing the session.URLToken around the site to make it
    cookie independent. I havent done this yet, first im trying to get
    a handle on how many people have cookies off (like you are), and
    where people are coming from to see if we are having click fraud
    (which we are very suspicious of).
    Is this what you would do (passing the URLToken around)? Any
    other comments you have would be very much appreciated.

  • WebService with Session manager and Connection pooling

    I've created many a Oracle users in our RDBMS. It comes to this, that every
    user in our Company has its own oracle account.
    We are developing now a Web application (Internal information system) for my
    Company.
    This Web application will have GUI created in perl and middle tier will be
    Oracle WebServices.
    This WebServices will be connected to the DB for every oracle user and it also
    must have a session management.
    And this is a Action plan:
    1. the user will log to the Web GUI with his oracle login name and a password
    2. this oracle user name and the password will be sent from this Web app to the
    WebService
    3. this WebService will create a connection over a JDBC (not over DataSources)
    and will create also a session (maybe like a servlet)
    4. in this session the instance of the created connection for this user will be
    saved and the WebService will return to the Web app the session id
    5. and this session id will be then used for further calling of WebServices
    Then comes another user, signs up over the Web app with his oracle account and
    this whole process repeats.
    Finally every logged user will have its own session id with his own connection
    instance to DB.
    Maybe it's possible, that it will work only with Servlet (with HttpSession) and
    WebService created from this Servlet.

    Take a look at the Statefull Java Web Services. It may be able to handle your use case.
    http://download-west.oracle.com/docs/cd/B14099_04/web.1012/b14027/javaservices.htm#i1027664
    You should be able to cache the database connection, directly in your service implementation class.
    Hope this helps,
    Eric

  • Trouble with sessions ending using GoDaddy email accounts with Safari

    I use a GoDaddy email account on my iMac with Safari. Lately I have been unable to manage my emails. I log into the account using a secure webmail, emil opens normally, but when I try to read or delete and emil I get this message: Session has ended due to inactivity. Log in to resume.  I have cleared cache, cleared all history shut unit down and start again. Still same message. Any thoughts on this. GoDaddy suggested I download Chrome or Firefox to read my email.

    Since I last wrote, I also tried advice I found in another post (can't mail from godaddy when using safari) to delete ALL website date and delete the cache.db and restart safari.  This did not help. 
    Don't know if it's related, but my macbook pro that is having this issue with GoDaddy webmail is now also asking for an obscure iCloud password every time I start up that is not my usual iCloud password... i can find it in my keychain though.

  • Issue with session management with portal 701 AFP

    Hi portal experts,
    We are facing an issue with one of our portal 7 ehp1 running the AJAX framework pages.
    When logging off, the DSM popup is shown and it disappears. However, the backend sessions are kept alive when we look in transaction SM12, which indicates that the backend session has not been closed (proven in transaction SM04)
    The same issue arises when closing a popup window. In this case, no DSM popup is shown and the sessions are maintained as well.
    Popup blockers are disabled
    Portal url and backend url are in the trusted sites collection
    Does this have something to do with the AJAX framework?
    Does anyone have any pointers for us?
    Thanks in advance!
    Regards,
    Luk

    Hi Tom,
    I already came across this note earlier. Currently I'm unable (not allowed) to install the httpwatch utility.
    To add to the complexity, web dispatchers are used to access the portal and used between the portal and the backend systems. If I understood correctly, we need to have the ABAP Security Sessions Enabled setting turned on in this sort of landscape. Is this correct?
    If it is not required, couldn't we just turn off this setting?
    Thanks in advance!
    kr,
    Luk

  • Trouble with audible manager

    I have a 4gb Zen. I've been using it for almost a year, downloading audiobooks from audible.com with no problem. However, I recently tried to download a book from a friend's audible account ( with her permission, of course) and once it was in my audible manager, it wouldn't load on my player. I don't know exactly what I did over the next hour or so, but I think I re-downloaded the audible manager software or something like that and downloaded the book from my audible account and tried to put it on my Zen. It's all sort of blur of clicking this and that. Anyways, now audible manager won't transfer any audiobooks to my Zen. It says tranfer error, device specific error, cant update device. I tried updating the firmware for the device, reformatting the device, and even deleted the entire library from the manager, (this last was at the suggestion of someone with a similar problem), but nothing has worked. The Zen will accept music files from my computer and itunes, but not audiobooks from any location. I recently updated ?the drivers and re-installed the software for the zen because windows was not recognizing that the player was connected. I don't know if that is part of the bigger problem or not. Any help would be appreciated as I absolutely love audiobooks and am dying not being able to listen to them!

    I forgot to mention that I did contact audible support and went through all the steps they recommended. Windows updates are current, too. I tried to re-download the audiobook from my online library and It? went into windows media player instead of audible manager. I did manage to get the book into my zen, but I prefer not to use windows media player. I guess the issue is kind-of resolved. Thanks for the reply, if you have any other ideas I would still like to hear them. Thanks, again.

  • Trouble with Migration manager.

    The Migration Manager never ends the cycle. I'm trying to transfer data from my macbookpro to a new iMac. I have followed all the instructions.
    I'm working with an ethernet cable. The program starts to run but stops after a few hours.

    Thank you so much.  I tried your suggestion and it worked!
    Thanks again,
    Tony

  • Having trouble with session.setAttribute()

    Hi,
    I'm trying to attach the current time to the sessionID as follows but it is not working.
    long stime = System.currentTimeMillis() / 1000;
    session.setAttribute("stime", stime);
    Then I want to call it later on....
    long stime = session.getAttribute("stime");
    None of this is working. Can someone help me please...
    thanks,
    kramer

    Hello,
    Capital "L" Long is the Object representation or "wrapper" of a long (lowercase "l"), which is one of the basic types called primitives and is a reserved keyword in the Java Language.
    As for uses, if you are simply dealing with long values in terms of basic arithmetic functions (+, -, *, /, etc.) then the primitive type will work fine. If you need to do fancier things, like conversion to another type, String representations, storage in a HashMap as an Object, etc. then that is for what the wrapper class is intended.
    Good luck,
    Ken

  • Having troubles with extension manager and new add-on

    Hi,
    bought a new add-on (never done that before, so it's new to me).
    Extension manager CS6 will not load the add-on.
    I checked both manager and add-on, both CS6, so it should work.
    Updated the manager this morning, which helped a bit, as it is now loading
    80%, asking me to accept the disclaimer.
    When I do, I get "unexpected error while trying to install".
    Then it's loading and installing again. When it's finished there is no new add-on (extension) loaded or to be seen.
    Could you help me with this problem, please?
    Thanks a lot in advance!
    Anne

    Hi Anne, what is the add-on called? What build of Extension Manager do you have installed? Are you on Windows or Mac?

  • Having trouble with session

    new to Jsp, previously Asp programmer. I'm not getting a session value returned. The first page the user puts in password and username, and the form is submitted to a jsp page. This page checks the database for validation. This works fine, it redirects to a main page when valid. I want to then just get the userid and display it (just to see if the session is working) on the previous page when I enter a non-valid password. I don't get any errors just userid = (nothing) ?? Any suggestions? Thanks for the help!!
    page 1 snippet --
    <%
    // first time make it true, then make it false to continue using the same session.
    session = request.getSession(false );
    // later, you'll want to go get userID this way.
    Sting User = (String)session.getAttribute("USER");
    %>
    User = <%=User%>
    page 2 snippet --
    String Password= request.getParameter("Password");
    String sql = "Select userID FROM Web_User WHERE PASSWORD = '" + Password +"'";
    (works fine)
    ...further down --
    HttpSession session = null;
    // first time make it true, then make it false to continue using the same session.
    session = request.getSession(true);
    // whatever fuction to go get the userID
    String userID = userID ";
    // set user id to session
    session.setAttribute("USER",userID);

    3) try to capture password as a session -
    String Plwork= "Password";
    session.setAttribute("USER",Plwork);
    This will place an attribute in the session
    The attribute name = "USER", value = "Password"
    Is this what you want?4) show password on another page after redirect -
    <% session = request.getSession(false);
    String PWord= (String)session.getAttribute("Plwork");
    %>
    PWord= <%= PWord%>
    You should not have to do a request.getSession(false);
    The session should already be there.
    With the code that you have provided there is NOT an
    attribute called "Plwork". So, you should get back
    a null Object.
    Hope that helps!

Maybe you are looking for