User Profile

Collapse

Profile Sidebar

Collapse
Brita
Brita
Last Activity: Nov 1 '07, 08:36 PM
Joined: Aug 24 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Brita
    replied to cookies sets in one jsp but not another
    The cookie will store a user ID cookie and we take the referrer information and put the user ID and referrer information in a database. People tend to bookmark our web site and we want to be able to go back and find out how people originally come to our web site. We also can then see how often, on average, people come back to our site. We don't care about any personal information about our visiter, I just get the next ID from the database if they...
    See more | Go to post

    Leave a comment:


  • Brita
    replied to cookies sets in one jsp but not another
    in Java
    The cookie will store a user ID cookie and we take the referrer information and put the user ID and referrer information in a database. People tend to bookmark our web site and we want to be able to go back and find out how people originally come to our web site. We also can then see how often, on average, people come back to our site. We don't care about any personal information about our visiter, I just get the next ID from the database if they...
    See more | Go to post

    Leave a comment:


  • Brita
    started a topic cookies sets in one jsp but not another

    cookies sets in one jsp but not another

    I have this code in two different places in my company's web (test) website.

    Code:
    int maxAge = 60*60*24*365; // one year cookie
    Cookie newCookie = new Cookie("thisWebUser", "Brita");
    newCookie.setMaxAge(maxAge);
    newCookie.setDomain(".tolltest.com");
    newCookie.setPath("/");
    response.addCookie(newCookie);
    When I use this on sampledomain.co m/CookieTest/CookieTest.jsp...
    See more | Go to post

  • Brita
    started a topic cookies sets in one jsp but not another
    in Java

    cookies sets in one jsp but not another

    I have this code in two different places in my company's web (test) website.

    Code:
    int maxAge = 60*60*24*365; // one year cookie
    Cookie newCookie = new Cookie("thisWebUser", "Brita");
    newCookie.setMaxAge(maxAge);
    newCookie.setDomain(".tolltest.com");
    newCookie.setPath("/");
    response.addCookie(newCookie);
    When I use this on sampledomain.co m/CookieTest/CookieTest.jsp...
    See more | Go to post

  • Brita
    replied to DateDiff() quick question
    in Java
    You are probably (certainly) correct.

    Thanks again for your help. This is such a great resource. Hopefully, one day I will know enough to help others here.

    Brita...
    See more | Go to post

    Leave a comment:


  • Brita
    replied to DateDiff() quick question
    in Java
    Thanks! I used the GregorianCalend ar like you suggested and it works just fine.

    I still am a little confused by DataDiff() though. Is this a standard Java Function? If not why do I keep seeing it everywhere?

    Thanks again.

    Brita...
    See more | Go to post

    Leave a comment:


  • Brita
    started a topic DateDiff() quick question
    in Java

    DateDiff() quick question

    You guys have been life savers for me, and I appreciate your help so much.

    I am trying to check the difference in days between two submitted requests.

    Code:
    DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM);
    Date firstDate = df.parse(firstRequest);
    Date secondDate = df.parse(secondRequest);
    int requestDays = DateDiff(dd, firstDate, secondDate);
    I get an error...
    See more | Go to post

  • Brita
    started a topic Dropdown Box with Multiple Choices
    in Java

    Dropdown Box with Multiple Choices

    I am sure there must be an easy answer to this, but I can't find it.

    I have to process a form where people can request information on one or more communities from a drop-down box. I bring the information into a java servelet to process. I get the data using:

    request.getPara meter("firstNam e")

    However request.getPara meter("communit yName") only brings me back the first community they...
    See more | Go to post

  • Thanks for all your help guys. ;-))

    Brita
    See more | Go to post

    Leave a comment:


  • Brita
    started a topic problem with apostrophy s in a perl / js dropdown
    in Perl

    problem with apostrophy s in a perl / js dropdown

    I have dropdown navigation drawing from a database. There is a dropdown box for all the states we have. When you choose a stat, the counties in the next dropdown box are created. My problem is with Prince George's County in Maryland. The 's is the killer. I have tried using the \' to replace this but it doesn't work.

    I will show the code and some of the solutions I have tried.

    Code:
    ...
    while($state=$out_sql->fetchrow_array){
    ...
    See more | Go to post

  • Thank you Linq!
    Your solution works perfectly. What a wonderful welcome to this group.
    :-))

    Brita...
    See more | Go to post

    Leave a comment:


  • trying to grab the max value from two diffrent fields

    Hi All,
    I have a table with project_number, startDateMethod 1, startDateMethod 2, endDateMethod1, and endDateMethod2. I used DateDiff to find out how many days each method took and now have two fields "days to complete Method 1" and "days to complete Method 2". I want to be able to create a query to get "maximum days to completion" for each project_number.

    So basically I want to get the maximum...
    See more | Go to post
No activity results to display
Show More
Working...