I've been I similar situation a couple of times, both if which resulted in substantial salary increases. The main thing is to clearly and deliberately decide what your best case scenario is, what sort of salary difference between the new job and current one will let you stay and not feel taken advantage of.
When you go in to discuss you salary with your current employer, make sure you know what your walk-away number is. During the discussion frame everything in terms of benefit to your employer.