Re: [PHP] Sessions Variables and refresh pages

2001-10-04 Thread Derek Mailer
application. Cheers the noo, Derek - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Karina [EMAIL PROTECTED] Cc: Derek Mailer [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 5:50 PM Subject: Re: [PHP] Sessions Variables and refresh pages Both of SID

Re: [PHP] Sessions Variables and refresh pages

2001-10-03 Thread Derek Mailer
: [PHP] Sessions Variables and refresh pages again with the problem i discovered that the problem is that the reload is needed when i use the session variables in the queries, otherwise there are not problem. Even if i only want to display the session variable in the result page, i need to do

Re: [PHP] Sessions Variables and refresh pages

2001-10-03 Thread Karina
Yes, it is. This is exactly the problem. Do you know a way to solution this ? Thks, Karina --- I'm not sure I fully understand the problem, but I think I can have a guess at it based on my past experiences... if you have a php page that starts a session with session_start()

Re: [PHP] Sessions Variables and refresh pages

2001-10-03 Thread Rasmus Lerdorf
Both of SID and session_id() should return the current session id after session_start() has been called. -Rasmus On Wed, 3 Oct 2001, Karina wrote: Yes, it is. This is exactly the problem. Do you know a way to solution this ? Thks, Karina --- I'm not sure I fully

Re: [PHP] Sessions Variables and refresh pages

2001-10-03 Thread Karina
Yes, the result is returned... the problem is that i have to refresh the page to see it or use it in a query. Karina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina Gómez Salgado
Hello, this is the fourth time i wrote expecting some answer from somebody with more experience than me. I have a protected page , i ask for user and pass and save these variables as session variables, with session_register. When the user submit this page.. this variables are registered, in the

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Rasmus Lerdorf
And I have read your question 4 times. I still don't understand it. I don't see how you can get a post data missing on a form post. -Rasmus On Tue, 2 Oct 2001, Karina [iso-8859-1] Gómez Salgado wrote: Hello, this is the fourth time i wrote expecting some answer from somebody with more

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina
Well, I don't understand it too, i don't know why with normal variables there are not problem and with session variables i need to refresh the page to see the results after the submit form. The mechanism is this: query 1 with parameter ACCESS FORM --- results only

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Rasmus Lerdorf
You are going to have to explain your problem in more detail. Write a simple little 5-line example program that illustrates the problem and post it here. As it is right now, I don't think anybody understands what the heck you are talking about. -Rasmus On Tue, 2 Oct 2001, Karina wrote:

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina
Ok. First i have a result-select-page displaying the id's of my items and other values. id1(link) -- item 1 bla bla bla id2(link) -- item 2 bla bla bla when the user selects an id link appears the accesscontrol page: ?php session_start(); if (!isset($uid2)) { ? ... form

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Rasmus Lerdorf
I have no idea what is wrong. Like I suggested before, if you reduce this problem down to a simple reproducable simple script someone can probably pick out what you did wrong. -Rasmus On Tue, 2 Oct 2001, Karina wrote: Ok. First i have a result-select-page displaying the id's of my items

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina Gómez Salgado
again with the problem i discovered that the problem is that the reload is needed when i use the session variables in the queries, otherwise there are not problem. Even if i only want to display the session variable in the result page, i need to do a reload. Karina wrote: Well, I don't