User Profile
Collapse
-
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... -
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...Leave a comment:
-
cookies sets in one jsp but not another
I have this code in two different places in my company's web (test) website.
When I use this on sampledomain.co m/CookieTest/CookieTest.jsp...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); -
cookies sets in one jsp but not another
I have this code in two different places in my company's web (test) website.
When I use this on sampledomain.co m/CookieTest/CookieTest.jsp...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); -
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...Leave a comment:
-
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...Leave a comment:
-
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.
I get an error...Code:DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM); Date firstDate = df.parse(firstRequest); Date secondDate = df.parse(secondRequest); int requestDays = DateDiff(dd, firstDate, secondDate);
-
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... -
-
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){ -
Thank you Linq!
Your solution works perfectly. What a wonderful welcome to this group.
:-))
Brita...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...
No activity results to display
Show More
Leave a comment: