User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » programming persistent options in websites Page [1]  
qntmfred
retired
40726 Posts
user info
edit post

i want one of my webapps to store various state variables such as the most recently visited page but i can't decide the best way to implement it.

for example, if i close my browser while in tech talk, the next time i go to tww, it should take me to tech talk
or, when you close excel while the cursor is in cell C5, the next time you open that file, the cursor is still in C5.

i started out making a mysql table called options, but then i have to add a new field everytime i want to store something. it just seems like a crappy way to accomplish this. any suggestions?

1/31/2006 3:46:27 PM

agentlion
All American
13936 Posts
user info
edit post

1/31/2006 4:05:32 PM

qntmfred
retired
40726 Posts
user info
edit post

not following ya...

1/31/2006 4:07:58 PM

OmarBadu
zidik
25071 Posts
user info
edit post

a cookie is a simple way to store this information and probably how it's done on just about all webapps

1/31/2006 4:10:50 PM

qntmfred
retired
40726 Posts
user info
edit post

oh right

durrr

[Edited on January 31, 2006 at 4:11 PM. Reason : overthinking]

1/31/2006 4:11:12 PM

agentlion
All American
13936 Posts
user info
edit post

i don't think it could be more clear....





1/31/2006 4:11:48 PM

qntmfred
retired
40726 Posts
user info
edit post

i thought it was an offer

\thread

1/31/2006 4:12:40 PM

agentlion
All American
13936 Posts
user info
edit post

haha, no. took a minute to find the other pics

1/31/2006 4:13:34 PM

HaLo
All American
14263 Posts
user info
edit post

definitely go the SQL route

1/31/2006 6:37:41 PM

qntmfred
retired
40726 Posts
user info
edit post

1/31/2006 6:43:21 PM

 Message Boards » Tech Talk » programming persistent options in websites Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.