Passing sessions or cookies across a different port
Posted: Wed Apr 12, 2006 1:18 pm
I am having a problem.
To access a database I need to use a different port in the url.
Example: (these aren't real pages just made up for examples)
I have a form on a page - https://mysite.com/form.php (it is https).
The action is to https://mysite.com/form_action.php which does all the error checking.
If it is all succesful I use a header function call to send the page to https://mysite.com:120/form.php (120 is a made up number). My service provider requires me to use a special port in the url to access my database.
When I do this I lose all of my session and cookie variables on the site. But I need them to insert the information in the database.
How can I access them across the port?
Or can I do a file include with a different port? Something like include(':120/filename.php').
I know that won't work but just a thought.
Please HELP!!!!!
To access a database I need to use a different port in the url.
Example: (these aren't real pages just made up for examples)
I have a form on a page - https://mysite.com/form.php (it is https).
The action is to https://mysite.com/form_action.php which does all the error checking.
If it is all succesful I use a header function call to send the page to https://mysite.com:120/form.php (120 is a made up number). My service provider requires me to use a special port in the url to access my database.
When I do this I lose all of my session and cookie variables on the site. But I need them to insert the information in the database.
How can I access them across the port?
Or can I do a file include with a different port? Something like include(':120/filename.php').
I know that won't work but just a thought.
Please HELP!!!!!