Current location: Hot Scripts Forums » Programming Languages » PHP » Passing variables between 2 pages...


Passing variables between 2 pages...

Reply
  #11 (permalink)  
Old 05-10-06, 06:28 PM
codywallis codywallis is offline
New Member
 
Join Date: May 2006
Location: Kali
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Another thing about using cookies is a big security issue. just typing: javascript:alert(document.cookie) in the browser will display all the cookie info such a "username" and your probably saying to yourself, what does that matter. Well, if you put: javascript:alert(document.cookie="username=admin") or some other username that is used. Then refresh your browser you will be logged into the username you specified. Where as with sessions if you type that, you will just get something like "PHPSESSID=4a7667sdy8as7sd9f7sa7795a76n3b0q21" . Hope this helped.

-LatE, Cody Wallis
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing javascript variables to new page... Tim Mousel JavaScript 1 01-29-05 03:23 PM
Passing info between pages w/ URL HairySpider JavaScript 6 01-09-05 08:47 AM
sending variables between pages ? shadi PHP 6 08-20-04 07:38 AM
sharing global variables accross pages davidklonski JavaScript 1 05-24-04 02:06 AM
PAssing variables dbalka Perl 3 10-29-03 05:00 PM


All times are GMT -5. The time now is 07:12 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.