Sorry if this isn't the appropriate area to post this in and I'm not sure how to word this question.
In my program I call a separate file when I want to update my tables. What I would like to do is after the update have my program return to the page that it originally came from. I use session variables at the start of the original program to verify that the user is authorized to be there, so what's happening now is for some reason I lose my session variables and the program sends me to my 'you're not authorized to use this' page.
I've tried googling a bunch of different terms to find a solution but so far nothing. Does anyone have a link to some information on how I can handle what I think is a post back situation?
thank you
Returning To A Page After An Update
Moderator: General Moderators
-
PastorHank
- Forum Contributor
- Posts: 117
- Joined: Sat Jun 03, 2006 7:58 am
- Location: Texas Hill Country
Re: Returning To A Page After An Update
Do you have session_start(); at the top of your update handler?
Re: Returning To A Page After An Update
Could you workaround this. I am facing a similar situation.
Someone has suggested i use, history.back() DOM object for this using javascript.
Not tried this so far though.
Someone has suggested i use, history.back() DOM object for this using javascript.
Not tried this so far though.