Domain name and  session

Hi ,
We have deployed our application on tomcat server built on struts framework.
We have also set the domain name and are redirecting the domain name to Static Ip
where our application is deployed with URL Masking option enabled.
Everything is working fine in Firefox.But in IE6 and IE7 we are facing issues related to sessions.
Example:
it works when we access directly
http://156.78.78.89:8000/myapp/login.do?method=display
     when i redirect this with a domain name(with URL masking enabled) like
     http://www.mydomain.com It does not work.
     I am not able to login into application(using sessions of this) or use shopping cart(using cookies)
Cookies are getting disabled and there is no session maintainance.
Is it problem with struts config or tomcat server?
I am unable to take my application live because of this issue.
Please help me to solve. Thank you for your time and consideration
email:[email protected]

Hi BKBK,
I'm using CF10 and aplicaction.cfc
<!--- Define the application settings. --->
<cfset THIS.name= "GuarderiasGMX2"/>
<cfset THIS.applicationTimeout = createTimeSpan( 0, 1, 0, 0 ) />
<cfset THIS.sessionManagement = true />
<cfset THIS.sessionTimeout = createTimeSpan( 0, 1, 0, 0 ) />
I don't use cookies to set the session. I only use cfcookie for kill the session on the application.cfc when the user sign out.
<cffunction
name="onRequestStart"
access="public"
returntype="boolean"
output="false"
hint="I initialize the page request.">
<!--- Define the local scope.--->
<cfset var local = {} />
<!--- --------------------------------------------- --->
<!--- --------------------------------------------- --->
<!---
Check to see if we killed the session timeout in the
psuedo constructor. If we did, we can / should now
kill the cookies for the current session and then
redirect such that the user can get their new session.
--->
<cfif structKeyExists( url, "killSession" )>
<!---
Clear all of the session cookies. This will
expire them on the user's computer when the
CFLocation executes.
--->
<cfloop
index="local.cookieName"
list="cfid,cftoken,cfmagic">
<!--- Expire this session cookie. --->
<cfcookie
name="#local.cookieName#"
value=""
expires="now"
/>
</cfloop>
<!---
Redirect back to the primary page (so that we dont
have the killSession URL parameter visible).
--->
<cflocation
url="index.cfm"
addtoken="false"
/>
</cfif>
Regards

Similar Messages

  • The publishing settings page does not open when I click on the domain name and the iWeb application will not stay on the dock.

    Hello,
    I have been trying to help a friend who is having problems publishing her website. (She has done so previously using Mobile me)
    There seem to be a couple of things wrong with the application,
    1     if I drag the application icon onto the dock, it won't stay there
    2     I wanted to change where her site is published to (she has bought a domain name and has a hosting service now) but when I click on the domain name I do not get the "site publishing settings page" so we can't enter the new details.  All that comes up is the main page of her website.
    I would suggest uninstalling and re-installing Iweb, to see if that clears the problem, but as Iweb came pre-installed with her Imac, I am not sure that we can do this.
    Any ideas please?
    she's using and imac 24 in (approx 4 years old) and running osx 10.5.8

    NO - not correct.  Even if you are still using iWeb 08, you can still publish to another host and not MobileMe.  You do this by selecting the option 'Publish to a local folder" and this will publish the site to your desktop and you can then use an ftp programme such as Cyberduck to upload your site to your host.
    MobileMe will not be here after the end of June, so you will have to find alternative hosting.  They are not taking any new subscriptions.
    On new Macs, iLife 11 is pre-installed, but only iPhoto, iMovie and GarageBand are included, not iWeb and iDVD. The Apple Online store is not selling the boxed version of iLife 11 any longer, so if you want to upgrade to iLife, then you'll have to look online at Amazon.com or Amazon.co.uk for a boxed set of either iLife 09 or iLife 11.  Both contains iWeb 09, which is what you would want.

  • Get the pc name with domain name and add it to my properties file using commands

    i want to get the pc name with domain name and add it to my properties file using powershell  .
    sid

    function Get-Environment{
    [environment]|Get-Member -Static -MemberType Properties |
    ForEach-Object{
    if($_.Name -ne 'StackTrace'){
    $v=[scriptblock]::Create("[environment]::$($_.Name)").Invoke()
    New-Object PsCustomObject -Property ([ordered]@{Name=$_.Name;Value=$v[0]})
    Get-Environment
    Get-Environment | Out-String | Out-File environment.txt
    ¯\_(ツ)_/¯

  • Problem with external domain name and hosting

    Hi I have my own domain name and hosting plan I want to use. However, I have trouble pointing my site from BC to my server.
    I found the following information but in my case "create A-Records" is not available on the "Site Domains". Please advise.
    Thanks.
    Bonbon668
    Point externally hosted domains to your Business Catalyst site
    If you have chosen to use external DNS service for your domain name, create A-Records for both the www and non-www versions of your domain name. Then, point them to your site, which resides on one of the following IP addresses:

    Hi
    Can you please confirm that there is no “Create A records” option under “More Actions” ?

  • "Accounting-Start" and "Accounting-Stop" with same "user name" and "session Id" recorded in different RADIUS servers.

    Hi,
    I have questions about "Accounting-Start" and "Accounting-Stop".
    1.If a NAS configured to have a primary and a backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the primary server goes down (Primary server won’t tell the NAS?). When sessions stop, the NAS sends the “Accounting-Stop” to the secondary. I understand the “Start-Stop” record with the same “user name” and “session-id” ideally should be recorded in the same server. If this situation happens what should both the NAS and RADIUS server do?
    2.A NAS configured to have a primary and backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the administrator decided to change the primary server (as there are problems with the previous primary). sessions stop, the NAS sends the “Accounting-Stop” to the new primary. This ends up the “Accounting-Start” and “Accounting-Stop” with the same “user name” and “session Id” in two RADIUS servers.
    To summarize, how to avoid the ”start-stop” pair ends up in different servers ? If it does, is it  an issue for RADIUS application ?
    Cheers,
    1.If a NAS configured to have a primary and a backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the primary server goes down (Primary server won’t tell the NAS?). When sessions stop, the NAS sends the “Accounting-Stop” to the secondary. I understand the “Start-Stop” record with the same “user name” and “session-id” ideally should be recorded in the same server. If this situation happens what should both the NAS and RADIUS server do?
    2.A NAS configured to have a primary and backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the administrator decided to change the primary server (as there are problems with the previous primary). sessions stop, the NAS sends the “Accounting-Stop” to the new primary. This ends up the “Accounting-Start” and “Accounting-Stop” with the same “user name” and “session Id” in two RADIUS servers.
    To summarize, how to avoid the ”start-stop” pair ends up in different servers ? If it does, is it  an issue for RADIUS application ?
    Cheers,

    vignesh and BalusC,
    following is the code in front controller's doFilter method. is this not thread safe?
            HttpServletRequest req = (HttpServletRequest) request;
            HttpServletResponse res = (HttpServletResponse) response;
            HttpSession session = req.getSession();
            somepackage.User user;
            if(session.getAttribute("user") == null){
                user = new somepackage.User();
                session.setAttribute("user", user);
            }else{           
                user = (somepackage.User) session.getAttribute("user");
            }user object maintains all information about a user. if it is in session scope, everything should work fine.
    another observation is after some time of usage, both people in different systems are getting same session.getId()
    in my logout page i am using
    session.invalidate();
    thanks,
    moses

  • Domain name and iweb - masking url?

    i have a domain name and want to use it for my website i created on iweb - is there a way to mask the url so when people type in my domain name they are directed to my iweb site??
    thanks

    Just go to the whatever place has your domain name and ask them or search in their FAQ or Help for how to do Domain Forwarding and Masking.

  • Will vmware horizon work after change domain name and ip adress and vcenter ?

    Hi
    i have a question
    i have to migrate all of my vmware horizon but for example my domain name is now a.com but i have to migare it to new domain b.comit means my domain name and ip adress will be change also connectios server ip adress vcenter ip adress  now i want to know if my domain name and ip adress change and also all of my vm and vcenter and ... change  will vmware horizon work after these changes ?
    best regards
    Babak

    Horizon View is depended on AD and this task is not trivial.
    What needs to be done depends on your setup and configuration and you will need assist from VMware Support and you should first replicate the setup in a test-environment.
    // Linjo

  • Get Windows domain name and user through jsp

    I have a jsp page that will be viewed through ie on windows platform, that is a member of domain.
    I need to get the domain name and logged in windows user name to use it in my page.
    I've looked through similar topics. Found no answer.
    1.
    System.parameter("user.name") is not ok. it returns user that runs jvm.
    2.
    import com.sun.security.auth.module.NTSystem;
    NTSystem system = new NTSystem();
    system.getDomain()
    system.getName()that didn't work through jsp, though the answer is correct.
    3. I found some api at http://www.sinotar.com/download/swin/doc/index.html
    it did the right thing, but it's not free.
    Could anyone advice me smth?
    I've looked

    well, it won't work in your jsp because jsps run server-side
    could try putting an applet on your page that does it, but I wouldn't be surprised if the security manager put the kibosh on that, too
    a third - but clunky - way would be to write a quick java app that does it, and launch it through WebStart. bit ugly, and needs extra user input they might not want to do

  • Resolving local domain name and nameserver address

    Hi,
    Is there any way to get the local domain name (on Windows it would be NT domain name and on Unix based platform it is DNS server's domain name) and local DNS server address ?
    Thanks,
    Rohit

    import java.net.*;
    try
       InetAddress ip = InetAddress.getLocalHost();
       String fqdn = InetAddress.getCanonicalHostName();
       int firstDot = fqdn.indexOf(".");
       String domain = fqdn.substring(firstDot+1);
       System.out.println("domain: "+domain);
    catch(Exception ex)
       ex.printStackTrace();
    }

  • Domain name and search engines

    Hi
    There have been a few helpful postings about the importance
    of having text on your frontpage for crawlers etc to improve your
    search ranking. My question: how important is the domain name for
    search engines? Is it worth investing a dime or 2 on a good generic
    domain? If you needed to have 2 words (e.g. www.top-lawyer.com) is
    it better to have them combined (e.g. www.toplawyer.com).
    PS This is just an example...I am not a lawyer!

    "Airborne Bob" <[email protected]> wrote in
    message
    news:[email protected]...
    > Gareth:
    >
    > In my case, I have created my website at Domain Name
    > www.LBIBeachRentals.NET.
    > The .COM version was not available at the time I
    obtained it.
    >
    > But I just purchased the .COM version this past Friday
    because it became
    > available and it's the more commonly accepted URL (and
    as a preventative
    > measure against someone else getting my rental people).
    >
    > Network Solutions tells me it's no problem.... they'll
    just direct (or
    > "point")the .COM to my .NET website. Is this okay in
    terms of search?
    > Are you
    > saying I will somewhat diminish ranking by doing this?
    >
    > TIA for any advice on what I'm doing.
    I think that your both confusing "domain names" and
    "domain/web space
    hosting" here.
    Typically you register with a hosting company and receive an
    amount of disk
    space. bandwith etc and a domain name, say
    www.thru-the-net.com
    You create your web site and upload it to the serve and
    people can access
    your web site at www.thru-the-net.com
    Now you realise that many people outside the US are entering
    www.through-the-net.com so you get your provider to register
    www.through-the-net.com for you as well and they POINT this
    address to
    www.thru-the-net.com. That is to say when people enter
    www.through-net.com
    the actually end up at www.thru-the net.com i.e. the same
    place.
    This is o.k. you can have as many variations as you want -
    www.thru-the-net.com
    www.through-the-net.com
    www.thruthenet.com
    www.throughthenet.com
    www.thru-the-net.net
    www.through-the-net.net
    etc. all pointing to the same www.thru-the-net.com server.
    This is o.k. and
    the search engines don't mind this.
    BUT
    If you have SEPARATE web space for each of these domain name
    variants and
    just copy your entire site into each of these spaces, now the
    domains are
    not being forwarded. They are entirely stand alone domains
    that are all the
    same.
    Search engines DON'T like these and see them as an attempt at
    improving
    ranking and therefore penalise all of them.
    Sorry for being so long winded, but hopefully this makes
    sense.
    Regards
    Phill

  • If default domain name and server name is not accepted weblogic server 6.1 does not start as NT service

    I want to change the domain name and the server name ( I do not want
    mydomain, myserver) while installing
    weblogic as an NT service. After installing and starting weblogic from NT
    services program, weblogic does not start
    But if I start it from the command script, it starts
    Thanks
    madhu

    Hi,
    I could start weblogic as an nt service by changing the name of the
    default server and domain. I had to include password in the
    installNTservice script.
    Thanks
    Madhu
    Michael Young <[email protected]> wrote in message
    news:[email protected]..
    Hi.
    Please open a case with BEA support.
    Thanks,
    Michael
    m holur wrote:
    I want to change the domain name and the server name ( I do not want
    mydomain, myserver) while installing
    weblogic as an NT service. After installing and starting weblogic from
    NT
    services program, weblogic does not start
    But if I start it from the command script, it starts
    Thanks
    madhu--
    Developer Relations Engineer
    BEA Support

  • Domain name and IP address - 11.5.8

    Hi All,
    We are running Oracle Application 11.5.8 on HP-UX (two node). Now we want to change Domain name and ip address of the server.
    How can I do this. From where can I get the documentation for this task.
    Thanks.

    Hi, this job is very easy if you use autoconfig tool, for maore information you can read the note 165195.1 in Metalink.
    Good Luck...

  • How can I make my homepage my domain name and not anything else?

    I own my domain name and it is hosted with godaddy and everything is working fine except that when I go to http://www.mydomain.com it redirects to http://www.mydomain.com/1stiwebpage.html Is it possible to have my homepage (in this case 1stiwebpage) stay at www.mydomain.com or is it inevitable for it to redirect to what ever is the name of the top page in the iweb hierarchy. I hope this question makes sense. Thanks

    The only way you can get this is to switch how you are forwarding. If you want www.mydomain.com then you would need to use masked web forwarding instead of CNAME. CNAME will show your site like this so that you can bookmark.

  • Changing Domain Name and IP address of a server

    We have an Oracle 10G server (running on Windows) that needs to have its domain name and IP address changed. I did a search on this forum and found similar threads to this one (e.g. Rename server name & change domain Just wondering if anyone has any other comments to make that haven't been mentioned previously.
    Looks like on the server side, we just have to change the listener and tnsnames.ora file. Anything else we have to worry about? (Unfortunately this is something I've never done before.)

    TomF:
    Yeah I know the listner SHOULD be the only thing that needs to know the server's network information. However, databases are big, complex pieces of software, and I'm just a bit paranoid that there's some system variable that needs to also get changed that I might be overlooking.
    You suggested I might need to change the global_name... Upon further research, I've found references to other variables that may need to change... local_listener, remote_listner, and dispatcher. (Note: I don't have the Oracle documentation handy so I can't verify how valid those are.)

  • Changing domain name and host name?????????//

    Hai,
    how to chane the domain name and hostname for LINUX ES 4.0 server.
    is any impact On EBS 11.5.10.2 . if i change??

    This is the command that I run at command prompt:
    perl D:\oracle\VIS\db\tech_st\10.2.0\appsutil\bin\adgentns.pl appspass=secret \contextfile=conf_VIS.txt -removeserver
    It returns:
    'perl' is not recognized as an internal or external command, operable program or batch file.
    Did you source the env file first?I apologize, what does this mean? I am running EBS12 on a WINXP environment, but this was the closest forum post I could find related to the topic.
    From Article:
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:1947016216372695354::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,338003.1,1,1,0,helvetica
    If you already changed the information of your existing AutoConfig Context file and
    have not done the above step, then you can manually update the Net Services
    Topology Model using the following syntax :
    Locate the System Name :
    The System name is the database name
    Verify with sql query :
    select DB_NAME from FND_DATABASES;I logged into the vision DB (VIS) as the system user id, via SQLPLUS, ran the query and it returned a table or view "FND_DATABASES" does not exists.
    I changed the computer name, and changed the domain name (primary dns suffix).
    I was successful using the Context Editor to edit both the DB and App context files, and ran AutoConfig for both the DB and Application (exists on the same machine).
    I hope this provides more clarity....
    Thanks
    -J

Maybe you are looking for

  • My MacBook Pro (Latest, Retina, Mountain Lion, 10.8.2) won't work with HDMI..!?!!!?!?!

    I usually connect my MacBook Pro to my TV through a HDMI cable, I never have to change any settings or anything, I just turn on my TV, plug in the HDMI cable to my MacBook and my TV, and it does the rest itself. But I tried to do this yesterday, and

  • My iphone 3g is stuck on apple logo please help

    Hi my 3g is stuck on apple logo after a reset, I bought it second hand and was just removing the other persons settings, it now wont do anything, wont even recognise in itunes to restore, please help,

  • How to upload a XML file to Servlet

    Hi, I am new to Java, I have to upload an XML file to java/j2ee server. The web server running on the server is "Tomcat 4.1". My new requirement is I have to upload an "Input.XML" file, can you please tell me how to upload an XML file. If any samples

  • Deploying on web

    Hi I am deploying my report on web. When I am deploying on web my report fonts, alignment are changing. Can any one help me out how to solve this problem. Vijay null

  • Best practice to create a database

    please can you send me the best practice to create a database which is want to be used in the future for a dataware house