Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

pass variable through redirect???

Posted 15 May 2002 18:11:09
1
has voted
15 May 2002 18:11:09 Peter Lent posted:
Sorry if my subject was not very clear, didnt quite know how to describe this.

Anyways, here is my problem.

I have a page that has dynamic generated data. I have a link that will allow a user to update the data on page1 via a link to page 2.

On page2 I need to make sure that the person is logged in (member) so I check to see if a session variable that is set when they log in is valid. If session variable exists, they are sent to page3. If it is not, they are sent to login.

Here is the problem. I need to pass a variable from page1 to page 3. This variable will be inserted into the update that is being done on page3.

Hopefully I have described what I am trying to accomplish ok.

THANKS

-Peter

Replies

Replied 16 May 2002 18:33:44
16 May 2002 18:33:44 Matthijs Horsman replied:
Hi Peterl,

Why make a seperate page to check if the person is logged in.

You can place some code above page three to check this, and if there not a member get redirected to the login page.

You can just use the standard MM SB for this.

Let me know if you mean something else

Matthijs
----------------
UD4/WY2K/IIS/ASP-VB
www.chaps.nl

Reply to this topic