Return to iWEBTOOL

Go Back   iWEBTOOL Talk > The Web and your Website > Programming
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
Welcome to iWEBTOOL Talk, where you talk about webmaster-related stuff.
 
Discuss topics which interest you.
With over thousands of threads (topics), we're sure you'll find something that'll interest you.
Ask for help whenever you need it.
We have thousands of members who are available to help you if you need it.
It's absolutely FREE!

 1  Register           2  Browse the board           3  Discuss whatever may interest you!
 


Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 10-09-2006, 05:35 AM   #1
rohan2kool
Member
 
rohan2kool's Avatar
 
Join Date: Dec 2005
Posts: 132
rohan2kool will become famous soon enough
Default Intervariables amongst local pages

I'm making a small presentation which is in HTML. There is a sidebar which has three parts out of which anyone can be made visible/invisible. What i want is some way to share variables amongst the pages to share the visibility status of the parts. Since it's local, cookies aren't working (do they.. if they do.. tell me how to, i have tried, but cookies aren't getting saved from local pages).

Is there any other way share variables. Otherwise one way is to use GET data for all links. Like, if i'm going to c:/expuni/mypage.html, it should goto:

C:/epxuni/mypage.html?var1=value&var2=value

but, there are so many links now, that it is not possible for me to change the anchor elements by javascript everytime a visiblity state is changed. So, is there a way such that everytime a link is clicked on, a function is executed that modifies the link, adds GET data and goes to that location.

thanks a lot.
__________________
Eat healthy, Stay Fit, Die Anyway.
--==--
If there is a man who knows everything about women, there is a Windows distribution without bugs.
rohan2kool is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
SEO Checklist
Get yourself better ranking with
our "Do-it-Yourself" SEO Checklist.
Click Here
Old 11-04-2006, 12:18 PM   #2
Abdussamad
Newcomer
 
Abdussamad's Avatar
 
Join Date: Nov 2006
Posts: 9
Abdussamad will become famous soon enough
Default Re: Intervariables amongst local pages

If you still need help (I definitely need to post ), you could use the session() function in php to store variables between page requests. see php.net/session
__________________
http://www.iwebtool.com/talk/thread5094-post25541.html#post25541
Abdussamad is offline  
Old 11-04-2006, 10:17 PM   #3
jumpenjuhosaphat
 Contributor 
 
jumpenjuhosaphat's Avatar
 
Join Date: Jun 2006
Location: Denver
Posts: 4,459
jumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud of
Default Re: Intervariables amongst local pages

You could use sessions to pass session variables, or you could pass them using forms from one page to another using the post method if you want.
__________________
Storage Sheds
Lost Forum
jumpenjuhosaphat is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
Webmaster Tools Webmaster Tools Click Here
Closed Thread

(Threads which have no activity for more than 30 days are automatically closed.)



Quick Reply
Message:

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intervariables across pages rohan2kool HTML 2 10-14-2006 05:52 PM
Free local golf partner search engine mygolfbuddy Advertise your website 1 10-10-2006 08:40 PM
Free local golf partner search engine. mygolfbuddy Advertise your website 0 09-26-2006 09:14 AM
static pages vs dynamic pages Chart Music Google 5 09-15-2006 11:41 PM


All times are GMT. The time now is 05:46 AM.


Powered by vBulletin v3.6.7 © 2008, Jelsoft Enterprises Ltd. SEO by vBSEO © 2006, Crawlability, Inc.