Returning To A Page After An Update
Posted: Thu Oct 13, 2011 7:37 pm
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
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