Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session in HTM format

Status
Not open for further replies.

A1Pat

IS-IT--Management
Jun 7, 2004
454
US
Hi all,

Is there a way to display Session value that I set on a HTML page.

A little background, I'm doing ASP homepage and setting a few Sessions with ASP code. However, I also have a couple HTML page that included javascript I utilized doesn't work when I saved as .asp with a ERROR:

"A script block cannot be placed inside another script block."

hence, I need to work with the page in HTM format and trying to retrieve Sessions form there.

Thanks for any input!
 
thanks again for the input!
I kind of know the answer will turn out, but I thought to try anyway.

Oh, well!
I found a tutorial suggest that to fix the error I mentioned earlier, I need to break the code a little by doing this:

document.writeln("<scr" + "ipt language='javascript'>")
...
document.writeln("<scr" + "ipt>")

for the inner js script.

It seems to work so far.

Bye now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top