# Help i need it fast (asp)

**URL:** https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180
**Category:** Uncategorized
**Created:** [September 23, 2004, 6:57pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180 "2004-09-23T18:57:33Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![my\_portal](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@my\_portal](https://forum.kirupa.com/u/my_portal)
#### Post date: [September 23, 2004, 6:57pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/1 "2004-09-23T18:57:33Z")

</div>

i dicided to rewrite my portal in asp but theres a problem! there an error!  
could some one tell me whats wrong?  
[http://i.1asphost.com/myportaladminarea/home.asp](http://i.1asphost.com/myportaladminarea/home.asp)  
i need help fast!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 23, 2004, 9:25pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/2 "2004-09-23T21:25:07Z")

</div>

Response.Write ("Welcome, your Logined As " & Session(“name”) & ")

count your quotes

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 24, 2004, 4:16pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/3 "2004-09-24T16:16:19Z")

</div>

right done the quote thing but now there are apearing some were else now! look at it ! (same link)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 24, 2004, 4:19pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/4 "2004-09-24T16:19:20Z")

</div>

do you want me to post the whole code?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 24, 2004, 6:11pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/5 "2004-09-24T18:11:18Z")

</div>

theres the asp code!

```php
<% 
 If (Session)"name" = "") Then
  Response.write("<a href=""login/default.asp"">Register</a> Or <a href=""login/default.asp"">Login</a>" & vbNewline)
 Else
  Response.write("Welcome, your Logined As & Session("name") &" & vbNewline)
 
 End If
 %>

```

ITS ASP

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 24, 2004, 6:17pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/6 "2004-09-24T18:17:50Z")

</div>

> [@my portal](#):
>
> theres the asp code!
> 
> ```php
> <% 
> If (Session)"name" = "") Then
> Response.write("<a href=""login/default.asp"">Register</a> Or <a href=""login/default.asp"">Login</a>" & vbNewline)
> Else
> Response.write("Welcome, your Logined As & Session("name") &" & vbNewline)
>  
> End If
> %>
> 
> ```
> 
> ITS ASP

```php

<% 
 If Session("name") = "") Then
  Response.write("<a href=""login/default.asp"">Register</a> Or <a href=""login/default.asp"">Login</a>" & vbNewline)
 Else
  Response.write("Welcome, your Logined As & Session("name") &" & vbNewline)
 
 End If
 %>

```

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 24, 2004, 7:17pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/7 "2004-09-24T19:17:00Z")

</div>

nope it still dont work look at it now!!  
/

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 24, 2004, 7:31pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/8 "2004-09-24T19:31:40Z")

</div>

digital’s code is correct -

that 500 error is stopping your code from even running

what else is going on codewise on the page?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 24, 2004, 7:32pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/9 "2004-09-24T19:32:52Z")

</div>

If Session(“name”) = “” Then

again count your quotes, parenthesis, delimiters…always vital…

that is like step 1 of troubleshooting - don’t be afraid to experiment to find out the reason for the error - here we had an ending ) without a beginning (

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 24, 2004, 8:03pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/10 "2004-09-24T20:03:19Z")

</div>

done the braket thing now whats the matter its go again! “Expected ‘)’”?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 25, 2004, 4:40am UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/11 "2004-09-25T04:40:58Z")

</div>

is name the correct label? was it called something else earlier?

also try changing the “name” to ‘name’

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 25, 2004, 10:04am UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/12 "2004-09-25T10:04:56Z")

</div>

thanks pr and ever one else who helped! it was the “” there meant to be ‘’ !lol! little mistake!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 25, 2004, 1:11pm UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/13 "2004-09-25T13:11:53Z")

</div>

oh \*\*\*\*! it gone again i changed the

```php
Response.write("Welcome, your Logined As & Session('name') &" & vbNewline)

```

to

```php
Response.write("Welcome, your Logined As <% & Session('name') & %>" & vbNewline)

```

because the & Session(‘name’) & wasnt executing!  
all i did was add the \<% %\> tags!  
what the mater now?  
[http://i.1asphost.com/myportaladminarea/myportalnew/home.asp](http://i.1asphost.com/myportaladminarea/myportalnew/home.asp)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 28, 2004, 5:59am UTC](https://forum.kirupa.com/t/help-i-need-it-fast-asp/65180/14 "2004-09-28T05:59:13Z")

</div>

you cant put the delimeter (thats what the \<% %\> are called) there…

its bad syntax -
