navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Cookies and Spooky login

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Cookies and Spooky login
Page: [1]
 
hzarabet

 

Posts: 1540
From: New Milford CT USA
Status: offline

 
Cookies and Spooky login - 3/20/2001 20:06:00   
I am new to using cookies for anything. If I set cookies to on with Spooky login and if the user deletes his cookies, will the cookie get reinstalled when the user tries to login again? Will the users login service be uninterupted?

------------------
www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada

Vince from Spain

 

Posts: 658
From: Madrid Spain
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 23:41:00   
Hi hzarabet,
yeah sure, the cookies will get reinstalled if they get deleted for any reason. I am sure the users login service will be flawless.

Vince

------------------
Internet Business Solutions S.L.(Spain)


(in reply to hzarabet)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 14:07:00   
Thanks Vince
No, the cookies dont get reloaded unless the user chooses to save info via cookie.

All cookies get saved by default when registering, but the user can select to keep them or not.
There are of course some paranoid people aout there.....

Dont add the link to login to allow clearing of cookies if you dont want to give them the option.
Login only saves user/first/last/expiry where register saves location detail as well.


(in reply to hzarabet)
hzarabet

 

Posts: 1540
From: New Milford CT USA
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 15:54:00   
So assuming I do not provide the option, users cannot delete their cookies. But even if they deleted all of their cookies from their temp internet files, the cookie would reinstall when they went ot try to log in. Am I understanding this correctly?

------------------
www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada


(in reply to hzarabet)
Vince from Spain

 

Posts: 658
From: Madrid Spain
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 16:34:00   
Ooooops.
"We all make mistakes" said the Dalek hopping off the dustbin . . .
I'll check next time before opening my big gob

Vince

------------------
Internet Business Solutions S.L.(Spain)


(in reply to hzarabet)
hzarabet

 

Posts: 1540
From: New Milford CT USA
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 16:36:00   
The only way to insure never making a mistake is never to reply. Even your mistakes are helpful.

------------------
www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada


(in reply to hzarabet)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 17:09:00   
No, cookies are only saved when they ask to do so.
When they register, it happens by default.
After that, its up to the user (or the coder) to change that!

(in reply to hzarabet)
hzarabet

 

Posts: 1540
From: New Milford CT USA
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 17:20:00   
So, (this may be a dumb question), if a person deletes their cookies, I realize that they can still log on to Spooky login by typing in their password instead of relying on the deleted cookie. But, short of re-registering, how CAN they get their cookie back for Spooky login?

------------------
www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada


(in reply to hzarabet)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 17:26:00   
By enabling the "save details" link?

They dont get their FULL details, as that would mean opening every row in the database.
As its Access, I dont like doing that for every login.
Whatever happens, the user will always find a way to delete their cookies.
I make the assumption that you save cookies at registration, and let the user decide after.
What cookies do you need / are you worried about?


(in reply to hzarabet)
hzarabet

 

Posts: 1540
From: New Milford CT USA
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 17:46:00   
Good point about letting the user decide (ie, deal with it) after THEY choose to delete.

I can't remember seeing the "save details" link. I will look for that.

I am using SQL7 if that makes a difference.

As for what am I worried about....when it comes to my site I take the worst possible thing that could happen, multiply by 3, and that's what I'm worried about

------------------
www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada


(in reply to hzarabet)
hzarabet

 

Posts: 1540
From: New Milford CT USA
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 17:57:00   
Now with the cookie issue behind us, what is the best way to have a user login and pull up a database queried off of his user name.Something like:

http://www.mydomain.com/login.asp?Redirect=databasepage.asp?user=<%=FP_Fi eldVal(fp_rs,"User")%>

Would this bring up a database only for the user who logged in?

------------------http://www.Signingshotline.comlists EVERY upcoming athlete autograph appearance in the US and Canada

[This message has been edited by hzarabet (edited 03-20-2001).]

[This message has been edited by hzarabet (edited 03-20-2001).]

[This message has been edited by hzarabet (edited 03-20-2001).]


(in reply to hzarabet)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 19:13:00   
You wouldnt add it to the login string, you would just query on the page:

select * from database where Username='"&Session("Username")&"'

The first script on this page would check they are logged in and send them to login.asp.

On return to this page, the where query will be completed

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!


(in reply to hzarabet)
hzarabet

 

Posts: 1540
From: New Milford CT USA
Status: offline

 
RE: Cookies and Spooky login - 3/20/2001 21:16:00   
Hmmmmm....

fp_sQry="SELECT * FROM Users WHERE Username='""&Session(""Username"")&""'"

When I log in with my username I get no records returned.

------------------
www.Signingshotline.com lists EVERY upcoming athlete autograph appearance in the US and Canada


(in reply to hzarabet)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Cookies and Spooky login
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts