11,554 Posted Topics
We use CodeIgniter custom session data to handle our login (among many other things). Our settings are as follows: $config['sess_cookie_name'] = 'danisession'; $config['sess_expiration'] = 0; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = TRUE; $config['sess_use_database'] = FALSE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = FALSE; $config['sess_time_to_update'] = 300; ... $config['csrf_protection'] = true; … ![]() | |
Re: I always put opening curly braces on their own line. Otherwise, I just have a really hard time wrapping my mind around where code blocks start and end. It's easy to match them up that way. All the tab stops at the top might be used to help align intentations … | |
Re: Personally, I live in a world where file_get_contents() is rather mainstream, but I also live in a world revolving around applications meant to be run on dedicated servers as opposed to shared hosting environments. | |
Re: I'll take a look as to why some of the RSS feeds are giving parse errors. However, it should be noted that you can accomplish the same thing, but *significantly* faster, by following the following algorithm: Fetch list of all forums in JSON format Create an empty array for each … ![]() | |
Re: Having unique content is important because, if the same content can be found in multiple places around the web, odds are that it's plagiarized. That, and Google only wants to show the same content ONCE in the search results, so it will try its best to figure out who the … | |
Re: DaniWeb is my hobby :) Well, it's my job, but more specifically, I like to surf the web reading up about the latest SEO tactics. So SEO is my hobby :-P I also like to play simulation games like The Sims and SimCity. What's yours? You never told us. | |
Re: Perhaps a mailing list? If you could encourage new visitors to sign up, then you can pull them back at a later date. Also check out Google AdWords remarketing campaigns. Grow your audience of repeat visitors by drawing back in people who have recently visited. | |
![]() | Re: While you can't rate entire threads, you *can* rate individual posts of a thread. The rating of the first post of a thread is synonymous with whether or not you think it's a good question. ![]() |
Re: This is against the law and so we don't discuss illegal things like that on DaniWeb. | |
We currently expire our marketplace listings after a certain timespan elapses. Currently, we send back a 410 status code for our expired pages (404 = we've never heard of this page compared to 410 = we know what you're talking about but it doesn't exist anymore and never will again … | |
What do you think of the list of related articles that appear beneath the first post of each thread? ![]() | |
Re: Most hackers spoof their IP address, so it's most likely not even accurate, unfortunately. | |
Re: Hi there! Welcome to DaniWeb. IT is such a huge field that it's impossible to learn enough of any small discipline in order to be proficient at it. I think the job of school is to give you an overview of everything there is out there, so you can decide … | |
Is it possible to generate a DFP Small Business ad tag that forces a particular creative or line item, that I can use as a backfill ad tag for an ad network? | |
Re: I've never heard of it. In what context have you seen this term used? | |
Re: Hi, You can visit http://www.daniweb.com/members/edit_membership Not sure if that's what you mean though. | |
Re: I'm confused by your question. We do allow threads to be responded to at any time in the future, because even if they don't necessarily help the original poster, they might help someone else down the line. However, do you mean that people are resurrecting old threads with their own … | |
Re: The site was founded in February 2002 when I was in college, but I didn't really start actively working on it until a year or so later. | |
I have an Office 365 account (Hosted MS Exchange). I deleted a few accidentally created calendars in my MS Exchange account. Everything is synced just fine (with the one remaining calendar) in Outlook 2013, my iPhone, and on the Office 365 website. However, the Windows 8 calendar app refuses to … | |
Re: Can you please explain what errors you're experiencing? Also, I detagged this thread from daniweb-api. I had thought you were using DaniWeb's API, but you are using PC World's. | |
Just as the thread title suggests, how can I deploy printers via group policy in Windows 2012 Server Essentials? | |
Re: I've changed your username. Please be sure to use your new username next time you want to log into the site. The reason why we don't allow username changes generally is because the entire community is based on the fact that we know each other based on our usernames - … | |
I currently have SVN down pat in Zend Studio. However, I can't figure out how to upload the changed files? | |
Re: Start selling advertising :) The easiest way is to sign up with Google AdSense at www.google.com/adsense You just copy and paste a little snippet of HTML code onto your blog and you can instantly start showing targeted, language-specific ads. | |
Article pages on DaniWeb (for those of you who live in the US) have a hover effect (similar to that on our homepage for everybody). It works fine in all browsers *except* for Firefox. Firefox is just super temperamental: it works a few times and then just mysteriously stops working … | |
Re: This has been suggested multiple times before but, unfortunately, is too resource intensive to compute on every page load for each individual member. As mentioned previously, however, individuals can choose to use our API to generate it should they so desire. | |
Re: Breadcrumb rich snippets, for example, help the search engines get a really good grasp of your site's navigation structure, and they even include page breadcrumbs in the SERPS themselves! | |
Re: Test post ... <edit> <second edit: I cannot reproduce your issue> | |
Re: Hi Echo, I understand what you mean and it's actually by design. Every hover past the text ad is designed to complete the full animation cycle. | |
Re: Tip #1: Read lots of information that already exists on the web before you ask such a super broad question about a topic that is worthy of its own growing industry. | |
Re: http://www.daniweb.com/members/479282/jkon/12 It looks like you never started a thread in the Linux and Unix forum? | |
Re: You can create CSS gradients. | |
| |
Re: > i think that the rep system should have more of a spam free setting where the user MUST enter a comment in order to add a rep or subtract a rep. That's the way the system currently works. I meant to post a long rant here earlier, but I … | |
Re: Congratulations!!!!! | |
Aside from breadcrumbs, what rich snippets can be used for forums? Can authorship work since there are multiple authors per page? or no? | |
Re: Hmm ... this is strange. Let me look into this. | |
Re: Absolute positioning is used when you need to position an element relative to another element. For example, in a dropdown menu you will want to position the dropdown relative to its parent. Absolute positioning is essential for dropdowns, hover effects, scrolling effects, etc. It is also used when you want … | |
Re: Try replacing $(".square.one,#link_nest").mouseenter(function(){ with $(document).on(".square.one,#link_nest", 'mouseenter', function(){ | |
Re: PageRank is a direct measure of the power that external backlinks brought the given page at some point in the past. We know that the power of your backlinks influences how frequently and how deeply googlebot crawls your site. Therefore, the Google PR toolbar is a direct measure of how … | |
Re: > One feature I love about these forums is the way there is an alert if you are part way through a post and you choose to move away from the page - in the browser that is, I don't think it says anything when I get up out of … | |
Re: > but I think if someone has a problem with a post, they should have the decency to attach a comment with explanation, and a name to go with it. That is why only non-anonymous votes that include a comment affect reputation. |
The End.