OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

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

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

 

Spooky Log in question

 
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, PHP, and Database >> Spooky Log in question
Page: [1]
 
mjmtravel

 

Posts: 327
Joined: 7/30/2006
Status: offline

 
Spooky Log in question - 6/4/2009 10:57:58   
I have a spooky log in question I'm hoping someone can answer for me. I know its no longer on the forum.
It is the lower version also, not professional.
When someone registers they get sent a email that looks like this and it works fine:

Hello Bob,

Thank you for registering with xxxxxx.net!
Here are your login details.

Username = sunshine
Password = suitless

To enable your account and make it active, you will need to login here :

http://xxxxxxxx.net/index.asp?U1=sunshine&UID=3349393

Welcome aboard,

My problem is if they loose the email or delete it or goes to junk and is deleted I resend them the template in the spooky email section for invalid users. All of this works fine except when I send the template email its missing the UID=3349393 and looks like this:

Hello Trevor,

Thank you for registering with xxxxxxxx.net!
Here are your login details.

Username = sunshine
Password = suitless

To enable your account and make it active, you will need to login here :

http://xxxxxxxxxx.net/index.asp?U1=sunshine ??????

Welcome aboard,


The template uses [login_url] for the link but its missing the UID number. Any help would be appreciated.

Thanks
Spooky

 

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

 
RE: Spooky Log in question - 6/4/2009 15:39:31   
Correct it doesnt add that currently. The best option at this point would be to enable the account and then resend the email. The reason being you now know its a valid user?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

Sp:)ky


(in reply to mjmtravel)
mjmtravel

 

Posts: 327
Joined: 7/30/2006
Status: offline

 
RE: Spooky Log in question - 6/8/2009 19:14:53   
Spooky one more question if you would be so kind. How can I extend the users log in time. I have a long property form for the customer to fill out and it takes some time.
I have changed the time already in your settings at
Const l_log_timeout = 2400.

I still have it timing out in about 10 minutes. Is there something else I can look at or is it on my host side.

Thanks a lot.

(in reply to Spooky)
Spooky

 

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

 
RE: Spooky Log in question - 6/9/2009 3:07:39   
You could add in cookie protection for that page? Sessions can be unreliable (and a pita) for forms that rely on the user to enter in a timely manner.

eg:
If Session("UserName")&"" = "" OR Request.cookies(cookie_name)("T1aUs")&""="" Then

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

Sp:)ky


(in reply to mjmtravel)
mjmtravel

 

Posts: 327
Joined: 7/30/2006
Status: offline

 
RE: Spooky Log in question - 6/9/2009 10:59:07   
Spooky

I'm very unsure how a cookie works. I have the use cookies box check in the settings and I have this at the top of the pages. Are you saying to replace that session or add to the current one and what would be the cookie name?

Sorry for the ignorance on this one.

<%
If Session("UserName")&"" = "" Then
Response.redirect "/index.asp?Redirect=" &Request.Servervariables("URL")
End if
%>


<%If Session("UserName")&"" = "" OR Request.cookies(cookie_name)("T1aUs")&""="" Then%>

(in reply to Spooky)
Spooky

 

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

 
RE: Spooky Log in question - 6/9/2009 17:10:23   
The cookie name is dependant on what was set in a_config. By default, its :

Const cookie_name = "Spooky"

So :

<% 
If Session("UserName")&"" = "" AND Request.cookies("Spooky")("T1aUs")&""="" Then
Response.redirect "/index.asp?Redirect=" &Request.Servervariables("URL") 
End if 
%> 



_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

Sp:)ky


(in reply to mjmtravel)
mjmtravel

 

Posts: 327
Joined: 7/30/2006
Status: offline

 
RE: Spooky Log in question - 6/10/2009 8:01:04   
Spooky
Thank you very much, I'll give that a try. As always, you are the MAN!!

(in reply to Spooky)
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> Spooky Log in question
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