View Single Post
Old 01-11-2007, 02:04 PM   #2 (permalink)
alhefner
Junior Member
 
Join Date: Dec 2006
Posts: 21
Default Re: redirect without destroying the session

I use the header("Location: url") method of redirect often in my scripts and my session isn't lost.

Are you sure that the destination page is php with session_start() at the top of the script? If so, your session should stay intact. Session_start() doesn't always start a new session, if a session already exists for that user, it simply resumes the session.

Al
__________________
My outdoor blog
alhefner is offline   Reply With Quote
Sponsored Links