8 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for syria718

<?php include 'ProcessDAO.php'; $dest=""; if(isset($_POST['login'])){ session_start(); // i get an error in this line !! $_SESSION['status']='online'; $_SESSION['breadcrumb']='home'; $pro = new ProcessDAO(); $dest = $pro->LogIn($_POST['username'],$_POST['password']); }else{ session_start(); $dest ="Location: ../index.php"; session_destroy(); } header($dest); ?> guyss can you help me out because in my Login.PHP file when i login i always get …

Member Avatar for Dani
0
8K
Member Avatar for gentlemedia

I've noticed the last couple of weeks that a hard-refresh won't clear the cache anymore in Chrome... well to me and two clients of mine (we're all on a Mac by the way). Not sure either if there was an update to Chrome recently which might cause this now. Did …

Member Avatar for rproffitt
0
563
Member Avatar for aravind326

Hi, I have a java class that is being used by multiple people (from a UI). In the class i have a static HashMap with the userKey as the map key and an arraylist with data pertaining to the user as the value. I am using this kind of like …

Member Avatar for aravind326
0
385
Member Avatar for james.lu.75491856

def mu_cache(func,maxsize=128): "Most Used Cache decorator" cname = "__"+func.__name__+"_Cache" rname = "__"+func.__name__+"_Rankings" exec("global "+cname) exec(cname+" = {}") #here exec("global "+rname) exec(rname+" = {}") def wrap(*args,**kwargs): cache = eval(cname) rankings = eval(rname) try: res = cache[(args,kwargs)] except: res = func(*args,**kwargs) cache[(args,kwargs)] = res else: try: res = rname[(args,kwargs)] except: res=0 rname[(args,kwargs)] …

Member Avatar for sepp2k
0
342
Member Avatar for battlex2010

I have made picture viewer in VB which also shows all the pics present in a folder as thumbnails using image list and listbox. The problem is whenever the user clicks refresh it takes long time for the image to load. I want to some how make a cache like …

Member Avatar for battlex2010
0
1K
Member Avatar for jrotunda85

I've been having a reoccurring issue with my VPS since I moved to a new company and I'm trying to figure out what the issue is. There are a few different things going on (I believe they are all connected) -- [LIST=1] [*]When you visit a page that doesn't exist, …

Member Avatar for jrotunda85
0
282
Member Avatar for love_dude1984

Hi, I'm trying to build an windows application in C#, where i will be using Cache Application Block. I have downloaded the Microsoft's Enterprise Library (5.0), & also tried a sample too.. The sample works fine but there is a catch. I'm not willing to use a configuration file in …

0
116
Member Avatar for Clawsy

Hello, I use Ruby with Sinatra in my application and I need to store a big data (exceeding 4K) in my session or somewhere secude on the server because I do some API calls and I refer to that data very often and that's why I need it stored. The …

Member Avatar for Clawsy
0
404

The End.