Jump to content


Photo

using session variables in Dream weaver


  • Please log in to reply
5 replies to this topic

#1 khan kaka

khan kaka
  • Members
  • PipPipPip
  • Advanced Member
  • 40 posts
  • Locationaustralia

Posted 26 June 2004 - 11:44 AM

how can i use session variables in dream weaver ?

if any one knows how or have a link for a good tuturial for session variables plz help.

i have set up a page where a user can log in and after they have succesfuly loged in there is a link where they can click on it and it will take them to another page where they can see their full detail and update their detail in data base . any idea how i can do this wiht session variables. i am using dream weaver and php.


thanks in advance .
khan kaka

#2 WellBaffled

WellBaffled
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 30 June 2004 - 10:54 PM

Click insert>apllication objects>update record form wizard and make and update record form based upon passed parameters for your users table. Save it then use the go to detal page behaviour from the behaviours panel to create a link from your login confimation page. You should pass the password and username parameters from the login form to the update form. The form will echo all the users data into the fields for them to update. Its that easy. It also tells you this in the standard manual which you will find by hitting F1 at any time.

#3 khan kaka

khan kaka
  • Members
  • PipPipPip
  • Advanced Member
  • 40 posts
  • Locationaustralia

Posted 01 July 2004 - 06:33 AM

thanks for ur respond but this way its not very safe to pass the users password and user name.

i want to use sessoin varibles that will dire after they close thier web browser.

this way aftery log in and if i pass the password and user word to update page through url variables they can add it to fav and access the loged in page directly.

thanks anyway

any other ideas about SESSION variables
khan kaka

#4 WellBaffled

WellBaffled
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 01 July 2004 - 07:43 PM

Just register a session from the two form fields and pass them to the next page. If you havent the abillity to hand code the variables or any idea where to insert them in the code get the sephiroth sessions ext for free from the mac site.

#5 khan kaka

khan kaka
  • Members
  • PipPipPip
  • Advanced Member
  • 40 posts
  • Locationaustralia

Posted 02 July 2004 - 01:14 AM

Just register a session from the two form fields and pass them to the next page. If you havent the abillity to hand code the variables or any idea where to insert them in the code get the sephiroth sessions ext for free from the mac site.

can u plz gave me the link for it or more info plz

i couldnt find the site.

:rolleyes:
khan kaka

#6 morpheus.100

morpheus.100
  • Members
  • PipPipPip
  • Advanced Member
  • 145 posts

Posted 03 July 2004 - 07:25 PM

Well the macromedia site or the sephiroth site would be a good start. Extentions are usually on mac's site or the authors site. If you type sephiroth into google, a well known SEARCH engine it pulls some stunning results.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users