![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Hi, I'm programming something in which a user must log in at one stae. In the beginning of my script that places data in the database the user is authenticated. When the user hasn't logged in yet he/she is redirected to a log in page. Now the data must be maintained as after the log in it must be inserted in the database. I can not use sessions nor the GET method (because the data can be larger dan GET can contain). Does anyone have any idea how to redirect to another page with maintaining state using POST? I'm trying to start a discussion about this, please ask me if you don't understand the question. Gez | |||
| | #2 | ||
| Gez wrote: > Hi, > > I'm programming something in which a user must log in at one stae. In the > beginning of my script that places data in the database the user is > authenticated. When the user hasn't logged in yet he/she is redirected to > a log in page. Now the data must be maintained as after the log in it must > be inserted in the database. I can not use sessions nor the GET method > (because the data can be larger dan GET can contain). > > Does anyone have any idea how to redirect to another page with maintaining > state using POST? > > I'm trying to start a discussion about this, please ask me if you don't > understand the question. > 1 - Put the data in a server-side session (session cookie, file, database, etc). 2 - It breaks usability to allow people to post when they're not logged in. Have a link to log them in first, and THEN take them to the form, so that when they post they're allowed to | |||
| Featured Websites | ||||
|
![]() |
| Tags: maintaining, post, redirect, state, while |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .htaccess - batch rewrite/ redirect? | David Dorward | HTML | 2 | 07-01-2007 1:49 PM |
| .htaccess - batch rewrite/ redirect? | Craig Bennett | HTML | 2 | 07-01-2007 1:49 PM |
| Who is maintaining a list of GPS friendly Airlines. | Jesper Lundorf Thusgaard | GPS | 8 | 06-25-2007 11:15 PM |
| MDB2_Schema and maintaining database across versions | Lars Olesen | Pear | 0 | 05-20-2007 6:34 PM |
| Redirect 301 non www to www | hunden | Search Engine Optimization | 1 | 05-10-2006 12:07 AM |
| Featured Websites | ||||
|