| T O P I C    R E V I E W | 
              
              
                | tribaliztic | 
                Posted - 12 January 2007 : 07:10:46  I have a page that all users are redirected to if they try to enter a url that don't exist on my site. Like www.site.com/snitz.asp --> www.site.com/pagenotfound.asp.
  I have a user that very often end up on that page and want to know what page he's trying to reach. I thought that it would be a piece of cake to save the refferrer url to the db and then create a page that displays all url's that are not reached but got a brain meltdown. Can someone help me alittle? What I need help with is the sql to save the Refferrer-variable to the db. < | 
              
              
                | 2   L A T E S T    R E P L I E S    (Newest First) | 
              
              
                | tribaliztic | 
                Posted - 13 January 2007 : 01:24:01  Okay, and it will add to the table and not overwrite? =) The simpler the better! < | 
              
              
                | pdrg | 
                Posted - 12 January 2007 : 09:28:27  if you've got the request.http_referrer (or whatever its called, I forget) then you could just create a simple one-column table with a (say) varchar(1000) datatype, and 
  insert mytable values (http_referrer)
  At it's simplest, that's it...< |