nine72 Posted February 8, 2008 Share Posted February 8, 2008 is it possible to save information from muti forms accross multi pages (would think that could do it in the session) from multi users with out confusing who entered what. then gather the in information to populate an xml string that will be posted to a middleware app? if so anyplace where I can find some examples... Thanks Quote Link to comment https://forums.phpfreaks.com/topic/90089-with-out-using-a-db/ Share on other sites More sharing options...
laffin Posted February 8, 2008 Share Posted February 8, 2008 yep, cookies or sessions Quote Link to comment https://forums.phpfreaks.com/topic/90089-with-out-using-a-db/#findComment-461890 Share on other sites More sharing options...
nine72 Posted February 8, 2008 Author Share Posted February 8, 2008 yep, cookies or sessions so in other words, if i have 100 people from various locations logged into the site and they are going through the forms, simply store the information in the session data and that will work. Ok, once they complete the process how do I kill the current session and invoke another if they need to run through it several times? example of what is being done... user logs in (yes there is a user db) they go though several pages with a single form per page. the infomration entered is then put into an xml string that is posted a middleware app from the middleware to a core db responce for the record being added back to middleware then back to the site. (I know its a lond way around but the 3 tier system will not allow direct connect from the net level to the db level) site gives a record add or record failed with the reported errors. if the user needs to add another record they go back to the begining and starts from the top. So IF the record add is successful and they go to the begining I need to kill the current session id flush the held session data and start a new one....yes/no....how....yikers.... Quote Link to comment https://forums.phpfreaks.com/topic/90089-with-out-using-a-db/#findComment-461921 Share on other sites More sharing options...
revraz Posted February 8, 2008 Share Posted February 8, 2008 You can unset any variable you set previously. Quote Link to comment https://forums.phpfreaks.com/topic/90089-with-out-using-a-db/#findComment-461928 Share on other sites More sharing options...
laffin Posted February 8, 2008 Share Posted February 8, 2008 U can destroy sessions as well Quote Link to comment https://forums.phpfreaks.com/topic/90089-with-out-using-a-db/#findComment-461947 Share on other sites More sharing options...
nine72 Posted February 11, 2008 Author Share Posted February 11, 2008 ok, well that worked...thanks I would mark this solved but I see no link at the bottom of the thread. Quote Link to comment https://forums.phpfreaks.com/topic/90089-with-out-using-a-db/#findComment-464111 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.